aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
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');
});
/**