Google News
logo
Express.js - Interview Questions
Write the code to start serving static files in Express.js.
See the Example :
app.use(express.static('public'))  
app.use('/static', express.static(path.join(__dirname, 'public')))  
Advertisement