fix: Issue with electron not displaying site
This commit is contained in:
1 parent
0a125a3246
commit
79419420bf
3 files changed
+40
-3
No files matched your search
+3
-1
@@ -23,13 +23,15 @@ http {
|
||||
listen ${PORT};
|
||||
server_name localhost;
|
||||
|
||||
add_header X-Frame-Options DENY always;
|
||||
# X-Frame-Options removed to allow Electron iframe embedding
|
||||
# add_header X-Frame-Options DENY always;
|
||||
add_header X-Content-Type-Options nosniff always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location ~* \.map$ {
|
||||
|
||||
Reference in new issue
Block a user