From 7869c1dfb51fabc86fc7fcbb1c25c639b6b59bfc Mon Sep 17 00:00:00 2001 From: chee Date: Thu, 14 Sep 2017 02:53:19 +0100 Subject: [PATCH] tell serve it's a SPA --- server/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/index.js b/server/index.js index 7b9bf0c..63613e1 100644 --- a/server/index.js +++ b/server/index.js @@ -8,5 +8,6 @@ const {env} = process const publicPath = env.PUBLIC_PATH || resolve(__dirname, '../client/public') serve(publicPath, { - port: env.HTTP_PORT + port: env.HTTP_PORT, + single: true })