netlify.toml (hoppscotch-2.0.0) | : | netlify.toml (hoppscotch-2.1.0) | ||
---|---|---|---|---|
[build.environment] | ||||
NODE_VERSION = "14" | ||||
NPM_FLAGS = "--prefix=/dev/null" | ||||
[build] | [build] | |||
functions = "netlify/" | base = "/" | |||
environment = { NODE_VERSION = "14" } | publish = "packages/hoppscotch-app/dist" | |||
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run generat | ||||
e" | ||||
[[headers]] | ||||
for = "/*" | ||||
[headers.values] | ||||
X-Frame-Options = "DENY" | ||||
X-XSS-Protection = "1; mode=block" | ||||
[[redirects]] | [[redirects]] | |||
from = "/discord" | from = "/discord" | |||
to = "https://discord.gg/GAMWxmR" | to = "https://discord.gg/GAMWxmR" | |||
status = 301 | status = 301 | |||
force = true | force = true | |||
[[redirects]] | [[redirects]] | |||
from = "/telegram" | from = "/telegram" | |||
to = "https://t.me/hoppscotch" | to = "https://t.me/hoppscotch" | |||
skipping to change at line 25 | skipping to change at line 36 | |||
force = true | force = true | |||
[[redirects]] | [[redirects]] | |||
from = "/beta" | from = "/beta" | |||
to = "https://forms.gle/XPYDMp8m6JHNWcYp9" | to = "https://forms.gle/XPYDMp8m6JHNWcYp9" | |||
status = 301 | status = 301 | |||
force = true | force = true | |||
[[redirects]] | [[redirects]] | |||
from = "/careers" | from = "/careers" | |||
to = "https://www.notion.so/hoppscotch/3b9d5d5239a043bfb91701faabf5b8f0" | to = "https://hoppscotch.notion.site/3b9d5d5239a043bfb91701faabf5b8f0" | |||
status = 301 | status = 301 | |||
force = true | force = true | |||
[[redirects]] | [[redirects]] | |||
from = "/newsletter" | from = "/newsletter" | |||
to = "http://eepurl.com/hy0eWH" | to = "http://eepurl.com/hy0eWH" | |||
status = 301 | status = 301 | |||
force = true | 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 | ||||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 15 lines changed or added |