-ตัวอย่าง microservice
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user