Skip to content

Instantly share code, notes, and snippets.

@tj
Created June 28, 2011 16:56
Show Gist options
  • 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