fix: introduce X-Frame-Options header to prevent clickjacking

This commit is contained in:
liyasthomas 2021-10-13 08:58:40 +05:30
parent 3b8cf4a60a
commit b3e9df4f3d

View File

@ -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"