Skip to content

Instantly share code, notes, and snippets.

@ozten
Created February 7, 2012 19:01
Show Gist options
  • Select an option

  • Save ozten/1761254 to your computer and use it in GitHub Desktop.

Select an option

Save ozten/1761254 to your computer and use it in GitHub Desktop.
Reduced test case for Issue 1057
#!/usr/bin/env node
/*
Deploy above resources directory.
*/
const path = require('path'),
express = require('express');
app = express.createServer();
app.use(express.static(path.join(__dirname, "resources", "static")));
app.listen(8666, '0.0.0.0', function() {
console.log("running on http://" + app.address().address + ":" + app.address().port);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment