optimization

This commit is contained in:
Sone
2026-05-24 21:41:20 +02:00
parent 957f583a71
commit 51b9718fa3
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -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);