feat: expose revision-safe competition API

This commit is contained in:
dahyeon committed 2026-07-12 19:34:15 +00:00
1 parent f3286e7fd1
commit 55e5b8df70
11 files changed
+2443 -19

No files matched your search

+8 -1
View File
@@ -18,7 +18,14 @@ async function bootstrap() {
app.enableCors({
origin: createCorsOrigin(nodeEnv),
credentials: true,
allowedHeaders: ['Authorization', 'Content-Type', 'X-Auth-User-Id'],
allowedHeaders: [
'Authorization',
'Content-Type',
'X-Auth-User-Id',
'If-Match',
'Idempotency-Key',
],
exposedHeaders: ['ETag'],
});
app.useGlobalPipes(
new ValidationPipe({