Created
February 7, 2012 19:01
-
-
Save ozten/1761254 to your computer and use it in GitHub Desktop.
Reduced test case for Issue 1057
This file contains hidden or 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
| #!/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