Node.js server - nodeminderjs/MSX.js GitHub Wiki

The server must serve static files and directory listings in an Apache similar format:

I decided to customize the connect/middleware-directory output following the answer gave in this question, that is, extract all relevant code from the middleware, make my adjustments, simplify and use it in my app.

<html><body><table>
<tr><td><a href="#">.</a></td></tr>
<tr><td><a href="#">.</a></td></tr>
<tr><td><a href="#">.</a></td></tr>
<tr><td><a href="#">.</a></td></tr>
<tr><td><a href="#">.</a></td></tr>
<tr><td><a href="#">Filename1</a></td></tr>
<tr><td><a href="#">Filename2</a></td></tr>
...
</table></body></html>

Links

⚠️ **GitHub.com Fallback** ⚠️