Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(console): enable CORS for cross-origin web app requests
Naiyuan Qing30a1fd02b8b8
diff --git a/src/console/main.ts b/src/console/main.tsindex 8d803c8f17..483417d569 100644--- a/src/console/main.ts+++ b/src/console/main.ts@@ -5,6 +5,7 @@ import { AppModule } from "./app.module.js";async function bootstrap(): Promise<void> {const app = await NestFactory.create(AppModule, { bufferLogs: true });+ app.enableCors();app.useLogger(app.get(Logger));const port = process.env["PORT"] ?? 4000;