mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(web): ✨ disable csp unsafe-inline
This commit is contained in:
parent
72222dceb3
commit
4aa6845672
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ server {
|
|||
location / {
|
||||
proxy_pass http://web:80;
|
||||
include location-includes/*;
|
||||
add_header Content-Security-Policy "default-src 'none'; base-uri 'self'; frame-ancestors 'self'; form-action 'none'; script-src 'self' 'unsafe-inline'; connect-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline';" always;
|
||||
add_header Content-Security-Policy "default-src 'none'; base-uri 'self'; frame-ancestors 'self'; form-action 'none'; script-src 'self'; connect-src 'self'; img-src 'self' data:; style-src 'self';" always;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ RUN npm ci --only=production
|
|||
|
||||
# build
|
||||
COPY . ./
|
||||
RUN npm run build
|
||||
RUN INLINE_RUNTIME_CHUNK=false npm run build
|
||||
|
||||
# final
|
||||
FROM base as final
|
||||
|
|
|
|||
Loading…
Reference in a new issue