netlify.toml 882 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [build.environment]
  2. NODE_VERSION = "14"
  3. NPM_FLAGS = "--prefix=/dev/null"
  4. [build]
  5. base = "/"
  6. publish = "packages/hoppscotch-app/dist"
  7. command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run generate"
  8. [[redirects]]
  9. from = "/discord"
  10. to = "https://discord.gg/GAMWxmR"
  11. status = 301
  12. force = true
  13. [[redirects]]
  14. from = "/telegram"
  15. to = "https://t.me/hoppscotch"
  16. status = 301
  17. force = true
  18. [[redirects]]
  19. from = "/beta"
  20. to = "https://forms.gle/XPYDMp8m6JHNWcYp9"
  21. status = 301
  22. force = true
  23. [[redirects]]
  24. from = "/careers"
  25. to = "https://www.notion.so/hoppscotch/3b9d5d5239a043bfb91701faabf5b8f0"
  26. status = 301
  27. force = true
  28. [[redirects]]
  29. from = "/newsletter"
  30. to = "http://eepurl.com/hy0eWH"
  31. status = 301
  32. force = true
  33. [[redirects]]
  34. from = "/twitter"
  35. to = "https://twitter.com/hoppscotch_io"
  36. status = 301
  37. force = true