Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(gateway): enable CORS for HTTP endpoints

Jiayuan Zhanga7629db01ee5
diff --git a/apps/gateway/main.ts b/apps/gateway/main.ts
index 02a9a017ac..ec5f40fdf1 100644
--- a/apps/gateway/main.ts
+++ b/apps/gateway/main.ts
@@ -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}...`);