forked from enonic/nextxp-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
19 lines (14 loc) · 750 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# DON'T add secrets etc here: these values will be COMMITTED to git and AVAILABLE IN THE BROWSER at runtime!
# For non-publishable values, add and use a local file .env.local instead!
ENONIC_API_TOKEN=mySecretKey
# Enonic app name, used for convenience in queries and mappings
ENONIC_APP_NAME=com.enonic.app.hmdb
# Absolute URL to Content API
ENONIC_API=http://127.0.0.1:8080/site/
# Enonic XP projects configuration for different locales
ENONIC_PROJECTS=hmdb/hmdb,no:hmdb-no/hmdb
######## Making the values from .env.development and .env.production PUBLIC to the browser:
NEXT_PUBLIC_ENONIC_APP_NAME=$ENONIC_APP_NAME
NEXT_PUBLIC_ENONIC_API_TOKEN=$ENONIC_API_TOKEN
NEXT_PUBLIC_ENONIC_API=$ENONIC_API
NEXT_PUBLIC_ENONIC_PROJECTS=$ENONIC_PROJECTS