fix(gateway): enable CORS for HTTP endpoints
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
005908710e
commit
a7629db01e
1 changed files with 1 additions and 0 deletions
|
|
@ -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}...`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue