vercel.json 482 B

1234567891011121314151617181920
  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. {"source": "/_assets/(.*)", "destination": "/$1"},
  10. {"source": "/(.*)", "destination": "/index.html"}
  11. ],
  12. "headers": [
  13. {
  14. "source": "/api/(.*)",
  15. "headers": [{"key": "Referer", "value": "https://sentry.io/"}]
  16. }
  17. ],
  18. "github": {"silent": true}
  19. }