Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 416 Bytes

File metadata and controls

14 lines (9 loc) · 416 Bytes

A simple webserver

This is a simple webserver written in Javascript for NodeJS.
It will serve any files in the document root specified on start-up and only there.

Usage: sudo node main.js <documentroot>

Todo

  • Update to NodeJS 0.4.0 - Done, works with 0.5.0-pre as of (February 28th 2011)
  • Implement optional directory listing
  • Add a config file