fix(web): conversation DELETE — resolve Failed to fetch TypeError (#204)
Some checks failed
ci/woodpecker/push/ci Pipeline failed

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #204.
This commit is contained in:
2026-03-17 02:43:56 +00:00
committed by jason.woltje
parent 3f8553ce07
commit cbfd6fb996
2 changed files with 10 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ async function bootstrap(): Promise<void> {
app.enableCors({
origin: process.env['GATEWAY_CORS_ORIGIN'] ?? 'http://localhost:3000',
credentials: true,
methods: ['GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
});
await app.register(helmet as never, { contentSecurityPolicy: false });