-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
update contributing redirects instructions #9774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Bundle ReportBundle size has no change ✅ |
| ## Add a New Redirect | ||
|
|
||
| Redirects are configured in [`next.config.js`](https://github.com/getsentry/sentry-docs/blob/master/next.config.js) and are checked before the filesystem (including pages and `/public` files ). The `redirects` function returns an array holding redirect objects. | ||
| There are two ways to add redirects in the Sentry docs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stephanie-anderson @a-hariti Do either of you know middleware or vercel redirects take precendence? Is this something we want to call out?
lizokm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Liza Mock <liza.mock@sentry.io>
next.config.jsmiddleware.tsvercel.json