mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 04:25:46 +02:00
fix(gateway): enable CORS for HTTP endpoints
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ async function bootstrap(): Promise<void> {
|
||||
console.log("[Gateway] NestFactory created");
|
||||
|
||||
app.useLogger(app.get(Logger));
|
||||
app.enableCors();
|
||||
|
||||
const port = process.env["PORT"] ?? 3000;
|
||||
console.log(`[Gateway] Listening on port ${port}...`);
|
||||
|
||||
Reference in New Issue
Block a user