|
|
@ -19,7 +19,6 @@ app.use(cookieParser());
|
|
|
|
app.use(express.static(path.join(__dirname, 'public')));
|
|
|
|
app.use(express.static(path.join(__dirname, 'public')));
|
|
|
|
|
|
|
|
|
|
|
|
app.use('/', indexRouter);
|
|
|
|
app.use('/', indexRouter);
|
|
|
|
app.use('/users', usersRouter);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// catch 404 and forward to error handler
|
|
|
|
// catch 404 and forward to error handler
|
|
|
|
app.use(function(req, res, next) {
|
|
|
|
app.use(function(req, res, next) {
|
|
|
|