-ตัวอย่าง microservice

This commit is contained in:
2025-11-11 17:55:41 +07:00
parent 406089741f
commit 968f3efd52
11 changed files with 46 additions and 378 deletions

View File

@@ -25,7 +25,7 @@ app.use((err, req, res, next) => {
next()
})
app.use('/api', router)
app.use('/api/web', router)
app.listen(process.env.PORT, () => {
console.log(`${process.env.PJ_NAME} running on port ${process.env.PORT}`)