Initial commit with Email Import Wizard and Task Processor updates
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Runtime environment variable injection for Vite SPA
|
||||
# Replaces build-time VITE_* placeholders with runtime env values
|
||||
|
||||
ENV_JS="/usr/share/nginx/html/env-config.js"
|
||||
|
||||
cat <<EOF > "$ENV_JS"
|
||||
window.__ENV__ = {
|
||||
VITE_API_URL: "${VITE_API_URL:-http://localhost:3100}",
|
||||
VITE_OIDC_AUTHORITY: "${VITE_OIDC_AUTHORITY:-}",
|
||||
VITE_OIDC_CLIENT_ID: "${VITE_OIDC_CLIENT_ID:-}",
|
||||
VITE_OIDC_REDIRECT_URI: "${VITE_OIDC_REDIRECT_URI:-}",
|
||||
};
|
||||
EOF
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user