From b93cd42167d7ccc5372dd0dab0f4f394721c6542 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Fri, 28 Nov 2025 20:36:47 +1000 Subject: [PATCH] fix: remove redirects to resolve redirect loop --- apps/web/next.config.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 805bbbe..481c822 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -3,21 +3,6 @@ import type { NextConfig } from 'next'; const nextConfig: NextConfig = { transpilePackages: ['@tpmjs/ui', '@tpmjs/utils', '@tpmjs/db', '@tpmjs/types', '@tpmjs/env'], reactStrictMode: true, - async redirects() { - return [ - { - source: '/((?!api).*)', - has: [ - { - type: 'host', - value: 'www.tpmjs.com', - }, - ], - destination: 'https://tpmjs.com/$1', - permanent: true, - }, - ]; - }, }; export default nextConfig;