add origrn
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-21 20:27:25 +01:00
parent cb2afd52e4
commit b88a954c6b
+1 -1
View File
@@ -14,7 +14,7 @@ async function bootstrap() {
}), }),
); );
app.enableCors({ app.enableCors({
origin: ['http://localhost:3000'], origin: ['http://localhost:3000', 'https://tvone.petermaquiran.xyz'],
methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'], methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization'], allowedHeaders: ['Content-Type', 'Authorization'],
credentials: true, credentials: true,