- Modified the Content-Security-Policy to include specific domains for default-src and connect-src, improving security and flexibility. - Updated the commented-out Content-Security-Policy in the _headers file to reflect the same changes for consistency.
13 lines
969 B
Plaintext
13 lines
969 B
Plaintext
/_astro/*
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/*
|
|
X-Content-Type-Options: nosniff
|
|
Referrer-Policy: strict-origin-when-cross-origin
|
|
Permissions-Policy: geolocation=(), camera=(), microphone=(), interest-cohort=()
|
|
Cross-Origin-Opener-Policy: same-origin
|
|
Cross-Origin-Embedder-Policy: credentialless
|
|
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
|
# Content-Security-Policy starter (enable after auditing inline scripts)
|
|
# Content-Security-Policy: default-src 'self' https://365devnet.eu https://*.365devnet.eu; script-src 'self' 'wasm-unsafe-eval' 'nonce-astro' https://chat.365devnet.eu; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://cdn.pixabay.com https://raw.githubusercontent.com; font-src 'self' data:; connect-src 'self' https://365devnet.eu https://chat.365devnet.eu wss://chat.365devnet.eu; frame-src https://chat.365devnet.eu; frame-ancestors 'none'; base-uri 'self'; form-action 'self'
|