From b88a954c6b0f40f492932e0dd86bf31b3ffa12ce Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Tue, 21 Apr 2026 20:27:25 +0100 Subject: [PATCH] add origrn --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 54b8da7..e8b5ed3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,7 +14,7 @@ async function bootstrap() { }), ); app.enableCors({ - origin: ['http://localhost:3000'], + origin: ['http://localhost:3000', 'https://tvone.petermaquiran.xyz'], methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'], allowedHeaders: ['Content-Type', 'Authorization'], credentials: true,