From 83b5c138100e7bb7fdf19d23b38a52d60a384427 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 13 Jun 2018 20:30:55 +0200 Subject: [PATCH] Use this.dir to join the resolved path --- server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/index.js b/server/index.js index 01dd8ee4..f0602ac4 100644 --- a/server/index.js +++ b/server/index.js @@ -35,7 +35,7 @@ export default class Server { this.http = null const phase = dev ? PHASE_DEVELOPMENT_SERVER : PHASE_PRODUCTION_SERVER this.nextConfig = loadConfig(phase, this.dir, conf) - this.distDir = join(dir, this.nextConfig.distDir) + this.distDir = join(this.dir, this.nextConfig.distDir) this.hotReloader = dev ? this.getHotReloader(this.dir, { quiet, config: this.nextConfig }) : null