Does express serve static files from hidden (dot) folder
问题 My app is serving a static folder like this app.use('/static', serveStatic(__dirname + '/view/my/static/folder')); How to configure server to serve a hidden folder? So if i have /view/my/static/folder/.hidden/some-text.txt I would like to see this on localhost:8080/static/.hidden/some-text.txt 回答1: I found this question from googling after I couldn't serve hidden files . I discovered that express doesn't serve them by default. You can serve them with the dotfiles option: app.use(express