File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import { applyAction , enhance } from ' $app/forms' ;
6
6
import { page } from ' $app/stores' ;
7
+ import * as env from ' $env/static/public' ;
7
8
import Pagination from ' $lib/components/Pagination/Pagination.svelte' ;
8
9
import { user } from ' $lib/pb' ;
9
10
import { searchEngine , searchedValue } from ' $lib/stores/search.store' ;
21
22
import _ from ' lodash' ;
22
23
import Select from ' svelte-select' ;
23
24
import { writable } from ' svelte/store' ;
24
- import { PUBLIC_SIGNUP_DISABLED } from ' $env/static/public' ;
25
25
26
26
const sortByOptions = [
27
27
{ label: ' added (desc)' , value: ' created_desc' },
186
186
<h1 class =" text-2xl" >Initialization Wizard 🧙</h1 >
187
187
<div class =" max-w-2xl flex flex-col text-center my-4 gap-2" >
188
188
<p class =" text-lg" >Looks like you're about to start using Grimoire for the first time!</p >
189
- {#if PUBLIC_SIGNUP_DISABLED === ' true' }
189
+ {#if env ?. PUBLIC_SIGNUP_DISABLED === ' true' }
190
190
<p class =" text-lg" >
191
191
Please enable public signup in your <code >.env</code > file and
192
192
<strong ><a href =" /signup" class =" link" >create your first User</a ></strong > to start using Grimoire.
You can’t perform that action at this time.
0 commit comments