From 3d3fbaaeec8793e468494ffa3943fa5598b408c0 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Thu, 3 Oct 2019 10:34:53 +0200 Subject: [PATCH] adjust csp to play nice with dexie in firefox --- build/proxy/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/proxy/nginx.conf b/build/proxy/nginx.conf index 568853e..afd2555 100644 --- a/build/proxy/nginx.conf +++ b/build/proxy/nginx.conf @@ -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 {