Abdul Rehman commited on
Commit
7ca8613
·
1 Parent(s): 20d9e44
Files changed (1) hide show
  1. src/main.ts +2 -2
src/main.ts CHANGED
@@ -10,8 +10,8 @@ async function bootstrap() {
10
 
11
  // Enable CORS for all origins and all methods
12
  app.enableCors({
13
- // origin: '*', // Allow all origins
14
- origin: ['https://property-fe-h8e2.vercel.app', 'http://localhost:3000'], // Replace with your frontend domain or use '*'
15
  methods: '*', // Allow all methods
16
  credentials: true,
17
  });
 
10
 
11
  // Enable CORS for all origins and all methods
12
  app.enableCors({
13
+ origin: '*', // Allow all origins
14
+ // origin: ['https://property-fe-h8e2.vercel.app', 'http://localhost:3000'], // Replace with your frontend domain or use '*'
15
  methods: '*', // Allow all methods
16
  credentials: true,
17
  });