Skip to content

Commit

Permalink
fix baseuri
Browse files Browse the repository at this point in the history
  • Loading branch information
sydseter committed Jan 24, 2025
1 parent 110a3e8 commit 03cc25a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cornucopia.owasp.org/script/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ function main() {
Referrer-Policy: same-origin
Permissions-Policy: accelerometer=(), autoplay=(), camera=(), document-domain=(), encrypted-media=(), fullscreen=(self "https://www.youtube.com/"), gyroscope=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), sync-xhr=(), usb=(), xr-spatial-tracking=(), geolocation=()
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
content-security-policy: default-src 'none'; base-uri: self; connect-src 'self'; script-src 'self' 'nonce-DhcnhD3khTMePgXw'; script-src-elem 'nonce-DhcnhD3khTMePgXw'; style-src 'self'; style-src-elem 'self'; img-src 'self'
content-security-policy: base-uri 'self'; default-src 'none'; connect-src 'self'; script-src 'self' 'nonce-DhcnhD3khTMePgXw'; script-src-elem 'nonce-DhcnhD3khTMePgXw'; style-src 'self'; style-src-elem 'self'; img-src 'self'
/how-to-play
Permissions-Policy: accelerometer=(), autoplay=(), camera=(), document-domain=(), encrypted-media=(), fullscreen=(self "https://www.youtube.com/"), gyroscope=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), sync-xhr=(), usb=(), xr-spatial-tracking=(), geolocation=()
content-security-policy: default-src 'none'; base-uri: self; frame-src 'self' https://www.youtube.com/; connect-src 'self'; img-src 'self' https://i.ytimg.com/vi/XXTPXozIHow/mqdefault.jpg; script-src 'self' 'nonce-DhcnhD3khTMePgXw'; script-src-elem 'nonce-DhcnhD3khTMePgXw'; style-src 'self'; style-src-elem 'self'
content-security-policy: base-uri 'self'; default-src 'none'; frame-src 'self' https://www.youtube.com/; connect-src 'self'; img-src 'self' https://i.ytimg.com/vi/XXTPXozIHow/mqdefault.jpg; script-src 'self' 'nonce-DhcnhD3khTMePgXw'; script-src-elem 'nonce-DhcnhD3khTMePgXw'; style-src 'self'; style-src-elem 'self'
`;

const headersFile = path.join(buildDir, '_headers');
Expand Down

0 comments on commit 03cc25a

Please sign in to comment.