Fix/missing environment variable type#7 #15
+1
-1
@@ -15,7 +15,7 @@ app.use("/docs", swaggerUi.serve, swaggerUi.setup(swaggerSpec));
|
||||
|
||||
// middleware
|
||||
app.use(cors({
|
||||
origin: ["http://localhost:5173"],
|
||||
origin: ["http://localhost:5173","https://quick-launch-techzaa.vercel.app"],
|
||||
methods: ["GET", "POST", "PATCH", "DELETE", "PUT"],
|
||||
credentials: true
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user