mirror of
https://github.com/hoppscotch/hoppscotch
synced 2024-11-22 07:01:28 +00:00
fix: introduce X-Frame-Options header to prevent clickjacking
This commit is contained in:
parent
3b8cf4a60a
commit
b3e9df4f3d
@ -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 New Issue
Block a user