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