Last active
October 10, 2015 21:28
-
-
Save jpillora/3753847 to your computer and use it in GitHub Desktop.
Node Static Server using Express
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
//Node Static Server using Express | |
var express = require('express'), | |
app = express(); | |
app.use(express.static(__dirname)); | |
app.listen(9000); | |
console.log("Listening on 9000"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment