From 439e38566467c289fda9632b3ed4844f8b8cb5c5 Mon Sep 17 00:00:00 2001 From: Mathieu TUDISCO Date: Tue, 5 May 2020 16:45:25 +0200 Subject: [PATCH] Fix possible double slashs when dynamicPublicPath --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index abc95ed..afbc8f8 100644 --- a/client.js +++ b/client.js @@ -59,7 +59,7 @@ function setOverrides(overrides) { } if (overrides.dynamicPublicPath) { - options.path = __webpack_public_path__ + options.path; + options.path = (__webpack_public_path__ + options.path).replace(/\/\//g, '/'); } if (overrides.ansiColors)