diff options
author | Marvin Borner | 2019-01-22 18:27:34 +0100 |
---|---|---|
committer | Marvin Borner | 2019-01-22 18:27:34 +0100 |
commit | 2769bc913d5a426954974f94a4245d5ae4f83faa (patch) | |
tree | b1025b564e22c24c4ae4799547aed7b4164ef2de /src | |
parent | 7dd78773cb6c0c3ccfa6784fde98e4ad923b0bc9 (diff) |
Updated peer to peer
Diffstat (limited to 'src')
-rw-r--r-- | src/app.js | 2 | ||||
-rw-r--r-- | src/routes.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ app.use(logger('dev', { })); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({extended: false})); -app.use(express.static(path.join(__dirname, '../public'))); +app.use(express.static(path.join(__dirname, '../dist'))); // Routes app.use('/', routes); diff --git a/src/routes.js b/src/routes.js index a892dac..cecb5d0 100644 --- a/src/routes.js +++ b/src/routes.js @@ -6,7 +6,7 @@ const routes = Router(); * GET home page */ routes.get('/', (req, res) => { - res.render('index', {title: 'Express Babel'}); + res.render('index'); }); /** |