diff --git a/middleware.ts b/middleware.ts index 846a188..4257cac 100644 --- a/middleware.ts +++ b/middleware.ts @@ -8,7 +8,6 @@ export const middleware = (request: NextRequest) => { const VERCEL_URL = process.env.VERCEL_URL; const allowedOrigins = [ `https://${DOMAIN_NAME}`, - ...(VERCEL_URL ? [`https://${VERCEL_URL}`] : []), process.env.NODE_ENV === "development" ? "http://localhost:3000" : "", ].filter(Boolean);