Commit 9abb13c
fix(vercel): redirect sentry.dev root to sentry.io (#118076)
Visitors to `sentry.dev` (no subdomain) currently land on the Vercel
preview deployment of the app, which is confusing — it looks like the
real product but isn't.
This adds a host-scoped redirect rule so bare `sentry.dev` traffic is
sent to `sentry.io`. PR preview subdomains (e.g. `pr-1234.sentry.dev`)
are unaffected because the `has` host condition matches exactly on
`sentry.dev`.
Using a temporary (307) redirect since we may want to revisit this if
the domain gets repurposed.
---
[View Session in
Sentry](https://sentry.sentry.io/traces/?project=4510944073809921&query=gen_ai.conversation.id%3A%22slack%3AC8V02RHC7%3A1781819110.636419%22)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>1 parent 494d0d2 commit 9abb13c
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
5 | 14 | | |
6 | 15 | | |
7 | 16 | | |
| |||
0 commit comments