Skip to content

Commit 33466fc

Browse files
committed
[DEP] adjusted Dockerfile; adjusted CSP
1 parent acf6e4b commit 33466fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

svip-o-vue/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ RUN npm install
1010
RUN npx browserslist@latest --update-db
1111

1212
# mask out the host's node_modules from being included in the container, even when bind-mounting
13-
VOLUME /app/node_modules/
13+
# VOLUME /app/node_modules/
1414

1515
# COPY . ./

svip_api/svip_server/settings/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
# Allow some urls to be integrated in iframes
238238
CSP_DEFAULT_SRC = ["'self'"]
239239
CSP_SCRIPT_SRC = ["https://cdnjs.cloudflare.com",
240-
"'self' 'unsafe-inline' 'unsafe-eval'"]
240+
"'unsafe-inline'"]
241241
CSP_STYLE_SRC = ["https://cdnjs.cloudflare.com",
242242
"https://fonts.googleapis.com",
243243
"'self' 'unsafe-inline'"]

0 commit comments

Comments
 (0)