This commit is contained in:
AdisakKanthawilang 2025-03-06 15:28:15 +07:00
parent 3a126130cd
commit d270eafda3
3 changed files with 1 additions and 28 deletions

View file

@ -37,15 +37,6 @@ async function main() {
app.use("/", express.static("static"));
app.use("/api-docs", swaggerUi.serve, swaggerUi.setup(swaggerDocument));
// app.use((req, res, next) => {
// console.log(`Request received at: ${req.url}`);
// next();
// });
// app.get('/api', (req, res) => {
// res.send('API route is working!');
// });
RegisterRoutes(app);
app.use(error);