Fixed issue with service worker scope
This commit is contained in:
parent
f37996fdf6
commit
ef6219e8c4
5 changed files with 19 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ server {
|
|||
location /front/ {
|
||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; object-src 'none'; media-src 'self' data:";
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin";
|
||||
|
||||
add_header Service-Worker-Allowed "/";
|
||||
add_header X-Frame-Options "ALLOW";
|
||||
alias /frontend/;
|
||||
expires 30d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue