-
-
Save velopert/9b69b62c0b0f1e37ca1640ff93de97f4 to your computer and use it in GitHub Desktop.
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
const express = require('express'); | |
const app = express(); | |
const path = require('path'); | |
app.use('/', express.static(path.resolve(__dirname, '../build'))); | |
app.listen(4000, function () { | |
console.log('Example app listening on port 4000!'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment