2025-03-21 17:00:42: merge [main:19f23306522e7816cb5e01503c995419ad78b946];

This commit is contained in:
txix committed 2025-03-21 17:00:42 +03:00
1 parent e87ed7cd68
commit 39cf7159e4
9 files changed
+72 -16

No files matched your search

Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
CONFIG_PATH="/opt/msp/isp-admin-ui/config.js"
cat <<EOF > $CONFIG_PATH
// DON'T TOUCH
// THIS FILE FOR PRODUCTION BUILD
window.config = {
ENABLE_PASSWORD_LOGIN: ${ENABLE_PASSWORD_LOGIN:-true},
APP_TOKEN: '${APP_TOKEN:-"default_token"}',
};
EOF
exec nginx -g "daemon off;"