Created
October 2, 2016 19:59
-
-
Save Sysetup/0d55330ca5a293398e5f55b60980c4d4 to your computer and use it in GitHub Desktop.
Render HTML files with ExpressJS
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
app.get('/',function(req,res){ | |
res.sendFile('index.html'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment