|
@ -22,7 +22,7 @@ app.set('views', path.join(__dirname, 'views')); |
|
|
|
|
|
|
|
|
app.use(logger('dev')); |
|
|
app.use(logger('dev')); |
|
|
app.use(express.json()); |
|
|
app.use(express.json()); |
|
|
app.use(express.urlencoded({ extended: false })); |
|
|
app.use(express.urlencoded({ extended: true })); |
|
|
app.use(cookieParser()); |
|
|
app.use(cookieParser()); |
|
|
app.use(express.static(path.join(basedir, 'public'))); |
|
|
app.use(express.static(path.join(basedir, 'public'))); |
|
|
|
|
|
|
|
|