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