aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMarvin Borner2019-01-22 18:27:34 +0100
committerMarvin Borner2019-01-22 18:27:34 +0100
commit2769bc913d5a426954974f94a4245d5ae4f83faa (patch)
treeb1025b564e22c24c4ae4799547aed7b4164ef2de /src
parent7dd78773cb6c0c3ccfa6784fde98e4ad923b0bc9 (diff)
Updated peer to peer
Diffstat (limited to 'src')
-rw-r--r--src/app.js2
-rw-r--r--src/routes.js2
2 files changed, 2 insertions, 2 deletions
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');
});
/**