vercel.json 581 B

123456789101112131415161718192021222324
  1. {
  2. "$schema": "https://openapi.vercel.sh/vercel.json",
  3. "version": 2,
  4. "rewrites": [
  5. {
  6. "source": "/(api|organization-avatar|avatar)/(.*)",
  7. "destination": "https://sentry.io/$1/$2"
  8. },
  9. {
  10. "source": "/region/(\\w+)/(.*)",
  11. "destination": "https://$1.sentry.io/$2"
  12. },
  13. {"source": "/_assets/(.*)", "destination": "/$1"},
  14. {"source": "/(.*)", "destination": "/index.html"}
  15. ],
  16. "headers": [
  17. {
  18. "source": "/api/(.*)",
  19. "headers": [{"key": "Referer", "value": "https://sentry.io/"}]
  20. }
  21. ],
  22. "github": {"silent": true}
  23. }