Website updates
This commit is contained in:
7
docker/setup-environment.sh
Normal file
7
docker/setup-environment.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
JSON_STRING='window.env = { \
|
||||
APP_POSTMAIL_ACCESS_TOKEN: "'"${APP_POSTMAIL_ACCESS_TOKEN}"'", \
|
||||
}'
|
||||
sed -i "s@<script id=\"environment\"></script>@<script>${JSON_STRING}</script>@" /usr/share/nginx/html/index.html
|
||||
exec "$@"
|
Reference in New Issue
Block a user