optimization
This commit is contained in:
+2
-2
@@ -15,10 +15,10 @@ app.use(
|
||||
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
||||
allowedHeaders: ["Content-Type", "Authorization"],
|
||||
credentials: true,
|
||||
})
|
||||
maxAge: 3600,
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
app.use(express.json());
|
||||
|
||||
app.use("/api/auth", authRoutes);
|
||||
|
||||
Reference in New Issue
Block a user