1var express = require('express');
2var app = express();
3var path = require('path');
4
5//app.use(express.static(__dirname)); // Current directory is root
6app.use(express.static(path.join(__dirname, 'public'))); // "public" off of current is root
7
8app.listen(80);
9console.log('Listening on port 80');
1const path = require('path')
2app.use('/static', express.static(path.join(__dirname, 'public')))
3