Files
hoppscotch/netlify.toml
2021-12-18 19:51:57 +05:30

63 lines
1.2 KiB
TOML

[build.environment]
NODE_VERSION = "14"
NPM_FLAGS = "--prefix=/dev/null"
[build]
base = "/"
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"
status = 301
force = true
[[redirects]]
from = "/telegram"
to = "https://t.me/hoppscotch"
status = 301
force = true
[[redirects]]
from = "/beta"
to = "https://forms.gle/XPYDMp8m6JHNWcYp9"
status = 301
force = true
[[redirects]]
from = "/careers"
to = "https://company.hoppscotch.io/careers"
status = 301
force = true
[[redirects]]
from = "/newsletter"
to = "http://eepurl.com/hy0eWH"
status = 301
force = true
[[redirects]]
from = "/twitter"
to = "https://twitter.com/hoppscotch_io"
status = 301
force = true
[[redirects]]
from = "/github"
to = "https://github.com/hoppscotch/hoppscotch"
status = 301
force = true
[[redirects]]
from = "/announcements"
to = "https://company.hoppscotch.io/announcements"
status = 301
force = true