Update main.ts

This commit is contained in:
Abubeker Yasin
2026-07-14 12:49:15 +03:00
parent 500699d65f
commit 1ace808b4a

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,
});