From 2769bc913d5a426954974f94a4245d5ae4f83faa Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 22 Jan 2019 18:27:34 +0100 Subject: Updated peer to peer --- src/app.js | 2 +- src/routes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/app.js b/src/app.js index 6eb3445..2770943 100644 --- a/src/app.js +++ b/src/app.js @@ -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'); }); /** -- cgit v1.2.3