Enhance logging for unauthorized access and task/tag operations; remove unused debug statement
This commit is contained in:
@@ -4,7 +4,6 @@ const bodyParser = require('body-parser');
|
||||
const session = require('express-session');
|
||||
const cookieParser = require('cookie-parser');
|
||||
const SQLiteStore = require('connect-sqlite3')(session);
|
||||
const debug = require('debug')('app');
|
||||
const tasksRouter = require('./routes/tasks');
|
||||
const authRouter = require('./routes/auth');
|
||||
const authMiddleware = require('./middleware/auth');
|
||||
@@ -39,5 +38,4 @@ app.use('/', authMiddleware, tasksRouter);
|
||||
|
||||
app.listen(port, () => {
|
||||
logger.info(`Server running at http://localhost:${port}`);
|
||||
//debug(`Server running at http://localhost:${port}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user