You could simply add a seperate handler for index.html and / before the static middleware: function serveIndex(res) { res.send($.html()); } ...
確定! 回上一頁