UI delivery, stage B: single CSP with optional connect-src origins (OVPMON_CSP_CONNECT_EXTRA)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d38acd74de
commit
d5e83eaff5
13 files changed
+211
-17
No files matched your search
@@ -105,6 +105,7 @@ else
|
||||
if [ -n "$ARG_HTTP_PORT" ]; then echo "OVPMON_HTTP_PORT=$ARG_HTTP_PORT"; else echo "# OVPMON_HTTP_PORT=80"; fi
|
||||
if [ -n "$ARG_VPN_PORT" ]; then echo "OVPMON_VPN_PORT=$ARG_VPN_PORT"; else echo "# OVPMON_VPN_PORT=1194"; fi
|
||||
echo "# OVPMON_CORS_ORIGINS="
|
||||
echo "# OVPMON_CSP_CONNECT_EXTRA="
|
||||
} > "$ENV_FILE"
|
||||
)
|
||||
chmod 600 "$ENV_FILE"
|
||||
|
||||
Reference in new issue
Block a user