Answers for "app.use(express.static("./public"));"

-2

express serve static

app.use('/static', express.static(__dirname + '/public'));
Posted by: Guest on April-26-2021
0

public static expressjs

//please read the expressjs docs
//  https://expressjs.com/en/starter/static-files.html
Posted by: Guest on September-13-2021

Code answers related to "app.use(express.static("./public"));"

Code answers related to "Javascript"

Browse Popular Code Answers by Language