UNPKG

rasengan

Version:

The modern React Framework

7 lines (6 loc) 170 B
import { logGetRequest as log } from '../utils/log.js'; export const loggerMiddleware = (req, _, next) => { const url = req.originalUrl; log(url); next(); };