2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 12:10:25 +02:00

adjust csp to play nice with dexie in firefox

This commit is contained in:
Frederik Ring 2019-10-03 10:34:53 +02:00
parent d554f68cac
commit 3d3fbaaeec

View File

@ -20,7 +20,7 @@ http {
map $sent_http_content_type $csp {
default "";
"~^text/html" "default-src 'self'; style-src 'self' 'unsafe-inline'";
"~^text/html" "default-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'";
}
server {