Skip to content

Commit a6166eb

Browse files
committed
add * instead of clientURL in api
1 parent ba7fc9a commit a6166eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api-gateway/src/middleware/security.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const applySecurityMiddleware = (app: Application) => {
1919
console.log('Setting up CORS with client URL:', Service.CLIENT_URL);
2020

2121
app.use(cors({
22-
origin: Service.CLIENT_URL,
22+
origin: "*",
2323
methods: ["GET", "POST", "HEAD", "PUT", "PATCH", "DELETE", "OPTIONS"],
2424
credentials: true,
2525
allowedHeaders: ['Content-Type', 'Authorization', 'Cookie', 'Range', 'Accept'],

0 commit comments

Comments
 (0)