Commit bc41081
fix(config): move /discord redirect from Netlify _redirects to vercel.json (#147)
* fix(config): move /discord redirect from Netlify _redirects to vercel.json
The site deploys on Vercel but public/_redirects uses Netlify syntax.
Vercel ignores this file, so /discord returns 404 instead of
redirecting to the Discord invite link.
Move the redirect to vercel.json using the Vercel redirects config
and remove the stale _redirects file.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
* retrigger proof review
* retrigger proof check
* fix(config): scope /discord redirect to openclaw.ai host
Add has condition to restrict the redirect to openclaw.ai only,
matching the existing host-scoped routing pattern in vercel.json.
Without this, /discord would redirect on all configured hosts
including trust.openclaw.ai and clawd.bot.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
* fix(config): use routes for discord redirect
* docs(changelog): note discord redirect fix
---------
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
Co-authored-by: Peter Steinberger <steipete@gmail.com>1 parent 44b6844 commit bc41081
3 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
0 commit comments