Skip to content

Commit

Permalink
Merge branch 'master' into last-login
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshamoon authored Oct 10, 2023
2 parents 539051d + e667866 commit 4438e3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion static.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"headers": {
"/**": {
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "deny"
"X-XSS-Protection": "1; mode=block",
"X-Frame-Options": "deny",
"Content-Security-Policy": "default-src * data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob:; script-src-elem 'self' 'unsafe-inline' https://www.google.com https://www.gstatic.com; frame-src 'self' https://www.google.com https://www.gstatic.com data:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; connect-src *;",
"Strict-Transport-Security": "max-age=63072000; includeSubdomains; preload"
}
}
}
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
'X-XSS-Protection': '1; mode=block',
'X-Frame-Options': 'deny',
'Content-Security-Policy':
"default-src 'self' data:; script-src 'self' 'unsafe-inline' blob:; script-src-elem 'self' 'unsafe-inline' https://www.google.com https://www.gstatic.com; frame-src 'self' https://www.google.com https://www.gstatic.com data:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; connect-src *;",
"default-src * data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob:; script-src-elem 'self' 'unsafe-inline' https://www.google.com https://www.gstatic.com; frame-src 'self' https://www.google.com https://www.gstatic.com data:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; connect-src *;",
'Strict-Transport-Security': 'max-age=63072000; includeSubdomains; preload',
},
},
Expand Down

0 comments on commit 4438e3b

Please sign in to comment.