Wednesday 27 May 2020

is this code for using static assets in express correct?

code:app.use('/static',express.static(path.join(__dirname, '/public')),(req,res,next)=>{ console.log('somebody was here') next(); });

Submitted May 27, 2020 at 10:54AM by philosopher_supreme

No comments:

Post a Comment