Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
node.js simple web server
var connect = require('connect');
var serveStatic = require('serve-static');
var http = require('http');
var app = connect().use(serveStatic(__dirname));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment