Skip to content

Instantly share code, notes, and snippets.

@indreklasn
Created January 26, 2024 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indreklasn/7e3227aa7fe2b1b443d43fcaaa144dbf to your computer and use it in GitHub Desktop.
Save indreklasn/7e3227aa7fe2b1b443d43fcaaa144dbf to your computer and use it in GitHub Desktop.
codeserver {
# ... other configuration ...
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' http://localhost:5173 https://static.cloudflareinsights.com https://www.clarity.ms https://accounts.google.com https://upload-widget.cloudinary.com https://maps.googleapis.com https://www.googletagmanager.com;"
# ... other configuration ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment