We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba7fc9a commit a6166ebCopy full SHA for a6166eb
1 file changed
api-gateway/src/middleware/security.ts
@@ -19,7 +19,7 @@ export const applySecurityMiddleware = (app: Application) => {
19
console.log('Setting up CORS with client URL:', Service.CLIENT_URL);
20
21
app.use(cors({
22
- origin: Service.CLIENT_URL,
+ origin: "*",
23
methods: ["GET", "POST", "HEAD", "PUT", "PATCH", "DELETE", "OPTIONS"],
24
credentials: true,
25
allowedHeaders: ['Content-Type', 'Authorization', 'Cookie', 'Range', 'Accept'],
0 commit comments