You want to serve static images in two different directories named thisd and thatd.

Which of these code snippets can you use to do this?

Options
1.app.use(express.static('thisd'))
app.use(express.static('thatd'))
2.app.use(express.static('thisd',"thatd"))
3.app.use('static', express.static('thisd'))
app.use('static', express.static('thatd'))
4.app.use('static', express.static('thisd',"thatd"))

Related Posts

Close Bitnami banner
Bitnami