Created
April 22, 2018 10:04
-
-
Save DavidMellul/2afcd7ecbe6ad83894972af8a2e0d536 to your computer and use it in GitHub Desktop.
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
| // Dependencies | |
| const express = require('express'); | |
| // Configure & Run the http server | |
| const app = express(); | |
| app.use(express.static(__dirname, { dotfiles: 'allow' } )); | |
| app.listen(80, () => { | |
| console.log('HTTP server running on port 80'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment