fix: introduce X-Frame-Options header to prevent clickjacking
This commit is contained in:
parent
3b8cf4a60a
commit
b3e9df4f3d
1 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,12 @@
|
|||
publish = "packages/hoppscotch-app/dist"
|
||||
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run generate"
|
||||
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
X-Frame-Options = "DENY"
|
||||
X-XSS-Protection = "1; mode=block"
|
||||
|
||||
[[redirects]]
|
||||
from = "/discord"
|
||||
to = "https://discord.gg/GAMWxmR"
|
||||
|
|
|
|||
Loading…
Reference in a new issue