Created
February 19, 2013 22:15
-
-
Save dkolba/4990645 to your computer and use it in GitHub Desktop.
Basic flatiron app with st as static file server
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
var flatiron = require("flatiron") | |
, app = flatiron.app | |
app.use(flatiron.plugins.http); | |
app.use(flatiron.plugins.static, { | |
root: __dirname + '/public' | |
}); | |
app.start(8080); | |
console.log('union with director running on 8080'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment