Fixed issue with service worker scope
This commit is contained in:
parent
f37996fdf6
commit
ef6219e8c4
5 changed files with 19 additions and 2 deletions
|
|
@ -76,6 +76,7 @@ http {
|
|||
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 X-Frame-Options "SAMEORIGIN";
|
||||
add_header Service-Worker-Allowed "/";
|
||||
# uncomment the following line and comment the proxy-pass one
|
||||
# to use the frontend build with "yarn build"
|
||||
#alias /frontend/dist/;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue