Changed Routers folder to Routes folder

This commit is contained in:
Matthew Patrick 2021-11-09 08:25:38 +07:00
parent 5ed5cbffa3
commit 0879aef4cf
2 changed files with 1 additions and 1 deletions

View file

@ -5,7 +5,7 @@ const app = express()
app.use(express.static('public'))
app.set('view engine', 'ejs')
const indexRouter = require('./routers/product');
const indexRouter = require('./routes/product');
app.use('/', indexRouter);