mirror of
https://github.com/PeterMaquiran/tvone-api.git
synced 2026-04-23 04:25:50 +00:00
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user