2021-09-17 08:47:48 +00:00
|
|
|
[build.environment]
|
|
|
|
NODE_VERSION = "14"
|
|
|
|
NPM_FLAGS = "--prefix=/dev/null"
|
|
|
|
|
2020-03-12 14:45:49 +00:00
|
|
|
[build]
|
2021-09-17 08:27:56 +00:00
|
|
|
base = "/"
|
2022-12-02 16:58:02 +00:00
|
|
|
publish = "packages/hoppscotch-web/dist"
|
2021-09-17 08:47:48 +00:00
|
|
|
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run generate"
|
2021-04-23 11:38:17 +00:00
|
|
|
|
2021-10-13 03:28:40 +00:00
|
|
|
[[headers]]
|
|
|
|
for = "/*"
|
|
|
|
[headers.values]
|
2023-02-07 13:51:06 +00:00
|
|
|
X-Frame-Options = "SAMEORIGIN"
|
2021-10-13 03:28:40 +00:00
|
|
|
X-XSS-Protection = "1; mode=block"
|
|
|
|
|
2021-04-23 11:38:17 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "/discord"
|
|
|
|
to = "https://discord.gg/GAMWxmR"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/telegram"
|
|
|
|
to = "https://t.me/hoppscotch"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2021-06-01 01:41:05 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "/beta"
|
|
|
|
to = "https://forms.gle/XPYDMp8m6JHNWcYp9"
|
|
|
|
status = 301
|
|
|
|
force = true
|
2021-06-20 12:36:20 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/careers"
|
2021-12-18 14:21:57 +00:00
|
|
|
to = "https://company.hoppscotch.io/careers"
|
2021-06-20 12:36:20 +00:00
|
|
|
status = 301
|
|
|
|
force = true
|
2021-08-27 16:43:15 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/newsletter"
|
|
|
|
to = "http://eepurl.com/hy0eWH"
|
|
|
|
status = 301
|
|
|
|
force = true
|
2021-08-28 15:18:13 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/twitter"
|
|
|
|
to = "https://twitter.com/hoppscotch_io"
|
|
|
|
status = 301
|
|
|
|
force = true
|
2021-09-26 13:46:23 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/github"
|
|
|
|
to = "https://github.com/hoppscotch/hoppscotch"
|
|
|
|
status = 301
|
|
|
|
force = true
|
2021-12-18 14:21:57 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/announcements"
|
|
|
|
to = "https://company.hoppscotch.io/announcements"
|
|
|
|
status = 301
|
|
|
|
force = true
|
2022-09-29 05:25:21 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/robots.txt"
|
|
|
|
to = "/robots.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/sitemap.xml"
|
|
|
|
to = "/sitemap.xml"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
|
|
|
to = "/index.html"
|
|
|
|
status = 200
|