Skip to content

Instantly share code, notes, and snippets.

Last active Jan 15, 2017
What would you like to do?
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