mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-07 03:57:06 +03:00
6 lines
224 B
JavaScript
6 lines
224 B
JavaScript
const log = require('../utils/logger.js'); // log not logger to not interfere with function name
|
|
|
|
module.exports = function logger (req, res, next) {
|
|
log.info("Request recieved: " + req.method + " " + req.url);
|
|
next();
|
|
} |