Skip to content

Instantly share code, notes, and snippets.

@tj tj/http-and-https.js
Created Jun 28, 2011

Embed
What would you like to do?
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
You can’t perform that action at this time.