Skip to content

Instantly share code, notes, and snippets.

@harriha
Created November 18, 2012 14:51
Show Gist options
  • Select an option

  • Save harriha/4105649 to your computer and use it in GitHub Desktop.

Select an option

Save harriha/4105649 to your computer and use it in GitHub Desktop.

Revisions

  1. harriha created this gist Nov 18, 2012.
    6 changes: 6 additions & 0 deletions server.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    // Save to a file server.js and 'node server.js'

    var connect = require('connect');
    connect.createServer(
    connect.static(__dirname)
    ).listen(8080);