Commit 68800fb402b2c3c75ba347d8e573be85045bdd13
fix statics to note overload /
Ev Bogue committed on 8/24/2016, 3:10:49 AMParent: f368d537f71a122079630895d2013828a6395e29
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -11,13 +11,8 @@ | ||
11 | 11 … | |
12 | 12 … | app.set('view engine', 'jade'); |
13 | 13 … | |
14 | 14 … | |
15 | -app.use(express.static('static')); | |
16 | -app.use(express.static('../../books/build')); | |
17 | -app.use(express.static('../../site/build')); | |
18 | -app.use(express.static('../../site/static')); | |
19 | -app.use(express.static('../../boot')); | |
20 | 15 … | |
21 | 16 … | app.get('/', function (req, res) { |
22 | 17 … | client(function (err, sbot) { |
23 | 18 … | if (err) { |
@@ -66,8 +61,13 @@ | ||
66 | 61 … | res.render('index', { title: 'Evbogue.com', markdown, moment}); |
67 | 62 … | } |
68 | 63 … | }); |
69 | 64 … | |
65 … | +app.use(express.static('static')); | |
66 … | +app.use(express.static('./../books/build')); | |
67 … | +app.use(express.static('./../site/build')); | |
68 … | +app.use(express.static('./../site/static')); | |
69 … | +app.use(express.static('./../boot')); | |
70 | 70 … | |
71 | -app.listen('8000'); | |
71 … | +app.listen('7000'); | |
72 | 72 … | |
73 | 73 … |
Built with git-ssb-web