From 6a7090b41df6e0a782f04707af60ebfbec9db0a5 Mon Sep 17 00:00:00 2001 From: zeripath Date: Thu, 15 Apr 2021 23:15:51 +0100 Subject: [PATCH] Fix missing icons and colorpicker when mounted on suburl (#15501) * Fix missing icons and colorpicker when mounted on suburl Signed-off-by: Andrew Thornton * as per silverwind Signed-off-by: Andrew Thornton Co-authored-by: Lauris BH --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index a84492f608..1b668e75cc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -188,7 +188,7 @@ export default { type: 'asset/resource', generator: { filename: 'fonts/[name][ext]', - publicPath: '/', // required to remove css/ path segment + publicPath: '../', // required to remove css/ path segment } }, { @@ -196,7 +196,7 @@ export default { type: 'asset/resource', generator: { filename: 'img/webpack/[name][ext]', - publicPath: '/', // required to remove css/ path segment + publicPath: '../', // required to remove css/ path segment } }, ],