Check in env config template
This commit is contained in:
parent
8c1f9e1ac7
commit
605765a86f
2 changed files with 27 additions and 0 deletions
1
front/dist/.gitignore
vendored
1
front/dist/.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
index.html
|
index.html
|
||||||
/js/
|
/js/
|
||||||
style.*.css
|
style.*.css
|
||||||
|
!env-config.template.js
|
||||||
|
|
26
front/dist/env-config.template.js
vendored
Normal file
26
front/dist/env-config.template.js
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
window.env = {
|
||||||
|
SKIP_RENDER_OPTIMIZATIONS: '${SKIP_RENDER_OPTIMIZATIONS}',
|
||||||
|
DISABLE_NOTIFICATIONS: '${DISABLE_NOTIFICATIONS}',
|
||||||
|
PUSHER_URL: '${PUSHER_URL}',
|
||||||
|
UPLOADER_URL: '${UPLOADER_URL}',
|
||||||
|
ADMIN_URL: '${ADMIN_URL}',
|
||||||
|
CONTACT_URL: '${CONTACT_URL}',
|
||||||
|
PROFILE_URL: '${PROFILE_URL}',
|
||||||
|
ICON_URL: '${ICON_URL}',
|
||||||
|
DEBUG_MODE: '${DEBUG_MODE}',
|
||||||
|
STUN_SERVER: '${STUN_SERVER}',
|
||||||
|
TURN_SERVER: '${TURN_SERVER}',
|
||||||
|
TURN_USER: '${TURN_USER}',
|
||||||
|
TURN_PASSWORD: '${TURN_PASSWORD}',
|
||||||
|
JITSI_URL: '${JITSI_URL}',
|
||||||
|
JITSI_PRIVATE_MODE: '${JITSI_PRIVATE_MODE}',
|
||||||
|
START_ROOM_URL: '${START_ROOM_URL}',
|
||||||
|
MAX_USERNAME_LENGTH: '${MAX_USERNAME_LENGTH}',
|
||||||
|
MAX_PER_GROUP: '${MAX_PER_GROUP}',
|
||||||
|
DISPLAY_TERMS_OF_USE: '${DISPLAY_TERMS_OF_USE}',
|
||||||
|
POSTHOG_API_KEY: '${POSTHOG_API_KEY}',
|
||||||
|
POSTHOG_URL: '${POSTHOG_URL}',
|
||||||
|
NODE_ENV: '${NODE_ENV}',
|
||||||
|
DISABLE_ANONYMOUS: '${DISABLE_ANONYMOUS}',
|
||||||
|
OPID_LOGIN_SCREEN_PROVIDER: '${OPID_LOGIN_SCREEN_PROVIDER}',
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue