Skip to content

Instantly share code, notes, and snippets.

@tj
Created June 28, 2011 16:56
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tj/1051583 to your computer and use it in GitHub Desktop.
Save tj/1051583 to your computer and use it in GitHub Desktop.
var express = require('./')
, http = require('http')
, https = require('https')
, app = express.createServer();
app.use(express.static(__dirname));
http.createServer(app.handle.bind(app)).listen(3000);
https.create....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment