mirror of
https://gitlab.com/nekoya/web.git
synced 2025-04-05 13:50:59 +02:00
Changed Routers folder to Routes folder
This commit is contained in:
parent
5ed5cbffa3
commit
0879aef4cf
2 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue