fix(config): redirect www subdomain to apex domain

- Add redirect rule in vercel.json to redirect www.tpmjs.com → tpmjs.com
- Use permanent (301) redirect for SEO benefits
- Preserves all paths and query parameters with /:path* pattern
- Ensures canonical URL is always non-www

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ajax Davis 2025-11-28 05:13:55 +10:00
parent 354f18a56a
commit f3af742207

View file

@ -9,6 +9,19 @@
"silent": false,
"autoJobCancelation": true
},
"redirects": [
{
"source": "/:path*",
"has": [
{
"type": "host",
"value": "www.tpmjs.com"
}
],
"destination": "https://tpmjs.com/:path*",
"permanent": true
}
],
"crons": [
{
"path": "/api/sync/changes",