Merge pull request #671 from Tria-plc/alpha

Update main.ts
This commit is contained in:
Abubeker Yasin
2026-07-14 12:50:09 +03:00
committed by GitHub

View File

@@ -44,7 +44,7 @@ async function bootstrap() {
app.enableCors({
origin: corsOrigins,
methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization', 'Accept-Language', 'X-Request-ID'],
allowedHeaders: ['Content-Type', 'Authorization', 'Accept-Language', 'X-Request-ID', 'X-Frontend-Base-URL'],
credentials: true,
});