fix(backend): make csp configurable to unbreak app-backend served apps not being able to fetch

This commit is contained in:
Fredrik Adelöw
2020-09-25 12:14:52 +02:00
parent d7c2adae86
commit ad90193d2a
6 changed files with 88 additions and 9 deletions
+2
View File
@@ -9,3 +9,5 @@ backend:
origin: http://localhost:3000
methods: [GET, POST, PUT, DELETE]
credentials: true
csp:
connect-src: ["'self'", 'http:', 'https:']