From 76e1d55601befb6e98105e77470b51fbc6312a60 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Wed, 16 Aug 2017 07:53:58 -0600 Subject: [PATCH] fixed broken route --- routes/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/index.js b/routes/index.js index f83dd37cb..dafaf09b9 100644 --- a/routes/index.js +++ b/routes/index.js @@ -39,8 +39,8 @@ if (process.env.NODE_ENV === 'production') { }); } -router.use('/client', express.static(path.join(__dirname, 'dist'))); -router.use('/public', express.static(path.join(__dirname, 'public'))); +router.use('/client', express.static(path.join(__dirname, '../dist'))); +router.use('/public', express.static(path.join(__dirname, '../public'))); /** * Serves a file based on a relative path.