From 1c70b332605ff7c8b548b86a52820520a0f33363 Mon Sep 17 00:00:00 2001 From: David Jay Date: Wed, 2 Nov 2016 15:37:07 -0700 Subject: [PATCH] Adding route for static hosting of build files --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index e7ded2f9c..7ce7c91ab 100644 --- a/app.js +++ b/app.js @@ -6,5 +6,6 @@ const express = require('express'); const app = express(); app.use('/api/v1', require('./routes/api')); +app.use('/client/', express.static('./dist')); module.exports = app;