Created
January 2, 2011 07:27
-
-
Save creationix/762377 to your computer and use it in GitHub Desktop.
Static file server for creationix.com (launches with spark to set port 80 and uid to nobody)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = require('http').createServer(require('stack')( | |
require('creationix/log')(), | |
require('creationix/static')('/', __dirname, "index.html") | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment