I would like to serve an html file without specifying it\'s extension. Is there any way I can do this without defining a route? For instance instead of
/he
you can just use extension option in express.static method .
app.use(express.static(path.join(__dirname, 'public'),{index:false,extensions:['html']}));