Coderslang_Master I'm not really understanding from where configString is coming from. When i try to do a console.log(configString) i get an undefined. ¿Do i have to import it?
This is my "middleware.js" file...
`import { getFormattedDate } from "./functions.js";
export const logger = (configString) => (req, res, next) => {
console.log(configString)
next();
}`