From 378cb60cb593bd7b68b3e01ecd5ce44a28fdbc6c Mon Sep 17 00:00:00 2001 From: Greg Martyn Date: Tue, 9 Oct 2018 10:57:34 -0400 Subject: [PATCH] CLIENT_PUBLIC_PATH default was being set in two places that computed different values. Remove the erroneous one. --- packages/razzle/config/env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/razzle/config/env.js b/packages/razzle/config/env.js index 85f73d05e..4483f908d 100644 --- a/packages/razzle/config/env.js +++ b/packages/razzle/config/env.js @@ -74,7 +74,7 @@ function getClientEnvironment(target, options) { PUBLIC_PATH: process.env.PUBLIC_PATH || '/', // CLIENT_PUBLIC_PATH is a PUBLIC_PATH for NODE_ENV === 'development' && BUILD_TARGET === 'client' // It's useful if you're running razzle in a non-localhost container. Ends in a / - CLIENT_PUBLIC_PATH: process.env.CLIENT_PUBLIC_PATH || '/', + CLIENT_PUBLIC_PATH: process.env.CLIENT_PUBLIC_PATH, // The public dir changes between dev and prod, so we use an environment // variable available to users. RAZZLE_PUBLIC_DIR: