expressjs / serve-static

Serve static files
MIT License
1.38k stars 227 forks source link

Include and exclude #122

Closed vanpipy closed 5 years ago

vanpipy commented 5 years ago

Hi, i tried to use serve-static to make a simple static server. There is useful options like include or exclude i wanted but neither of them exist. So questions is coming. Is necessary to add the features include or 'exclude'? Thanks your reading.

vanpipy commented 5 years ago

The include conflict with the root, so pass it and leave exclude.