Skip to content

Instantly share code, notes, and snippets.

@ericf
Created October 26, 2011 18:14
Show Gist options
  • Select an option

  • Save ericf/1317207 to your computer and use it in GitHub Desktop.

Select an option

Save ericf/1317207 to your computer and use it in GitHub Desktop.
var comboServer = require('combohandler/lib/server'),
port = process.env.PORT || 3001,
app = comboServer({
roots: {
'/': __dirname + '/build'
}
});
app.listen(port, function () {
console.log('YUI server listening on ' + port);
});
@ericf
Copy link
Copy Markdown
Author

ericf commented Oct 26, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment