mirror of
https://github.com/offen/website.git
synced 2024-11-22 17:10:29 +01:00
Merge pull request #152 from offen/dexie-csp
Adjust csp to play nice with dexie in firefox
This commit is contained in:
commit
b8d1b66e5c
@ -20,7 +20,7 @@ http {
|
|||||||
|
|
||||||
map $sent_http_content_type $csp {
|
map $sent_http_content_type $csp {
|
||||||
default "";
|
default "";
|
||||||
"~^text/html" "default-src 'self'; style-src 'self' 'unsafe-inline'";
|
"~^text/html" "default-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'";
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Loading…
Reference in New Issue
Block a user