Answers for "set base dir inpug"

0

set base dir inpug

app.set('views', path.join(__dirname, 'views'));
app.locals.basedir = app.get('views');

// now you can enter the path after views directory directly
Posted by: Guest on March-17-2021

Browse Popular Code Answers by Language