Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save princefishthrower/219ee556b43f4aea873152284c6bd140 to your computer and use it in GitHub Desktop.
Save princefishthrower/219ee556b43f4aea873152284c6bd140 to your computer and use it in GitHub Desktop.
'use strict';
const http = require('http');
const express = require('express');
const path = require('path');
const app = express();
let server;
app.use('/', express.static('./build'));
server = http.createServer(app);
server.listen(9005);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment