Compare commits
2 Commits
dev
..
4468c00abf
| Author | SHA1 | Date | |
|---|---|---|---|
| 4468c00abf | |||
| 0a8fe573ae |
+1
-1
@@ -15,7 +15,7 @@ app.use("/docs", swaggerUi.serve, swaggerUi.setup(swaggerSpec));
|
|||||||
|
|
||||||
// middleware
|
// middleware
|
||||||
app.use(cors({
|
app.use(cors({
|
||||||
origin: ["http://localhost:5173","https://quick-launch-techzaa.vercel.app"],
|
origin: ["http://localhost:5173"],
|
||||||
methods: ["GET", "POST", "PATCH", "DELETE", "PUT"],
|
methods: ["GET", "POST", "PATCH", "DELETE", "PUT"],
|
||||||
credentials: true
|
credentials: true
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user