Skip to content

Instantly share code, notes, and snippets.

@danimajo danimajo/server.js
Created May 8, 2012

What would you like to do?
static http webserver with node.js and connect
var connect = require('connect');
//Hier den Pfad eingeben,
//indem die statischen (html/js/css) Files liegen.
var HTDOCSPATH = 'C:\\data\\js\\learn'
console.log("serving from dir " + HTDOCSPATH)
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.