Skip to content

Commit 8ec02ae

Browse files
committed
revert: remove www redirect (conflicts with Vercel redirect)
1 parent 0d88271 commit 8ec02ae

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

frontend/next.config.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,6 @@ const nextConfig: NextConfig = {
1313
},
1414
],
1515
},
16-
// Redirect www to non-www for Clerk compatibility
17-
async redirects() {
18-
return [
19-
{
20-
source: '/:path*',
21-
has: [
22-
{
23-
type: 'host',
24-
value: 'www.trycheatcode.com',
25-
},
26-
],
27-
destination: 'https://trycheatcode.com/:path*',
28-
permanent: true,
29-
},
30-
];
31-
},
3216
};
3317

3418
export default nextConfig;

0 commit comments

Comments
 (0)