vercel.json 751 B

12345678910111213141516171819202122232425262728
  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|organization-avatar|avatar|region)/(.*)",
  19. "headers": [
  20. {"key": "Referer", "value": "https://sentry.io/"},
  21. {"key": "Document-Policy", "value": "js-profiling"},
  22. {"key": "Origin", "value": "https://sentry.io"}
  23. ]
  24. }
  25. ],
  26. "github": {"silent": true}
  27. }