Skip to content

Commit 6a7090b

Browse files
zeripathlafriks
andauthored
Fix missing icons and colorpicker when mounted on suburl (#15501)
* Fix missing icons and colorpicker when mounted on suburl Signed-off-by: Andrew Thornton <art27@cantab.net> * as per silverwind Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
1 parent 953f398 commit 6a7090b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ export default {
188188
type: 'asset/resource',
189189
generator: {
190190
filename: 'fonts/[name][ext]',
191-
publicPath: '/', // required to remove css/ path segment
191+
publicPath: '../', // required to remove css/ path segment
192192
}
193193
},
194194
{
195195
test: /\.png$/i,
196196
type: 'asset/resource',
197197
generator: {
198198
filename: 'img/webpack/[name][ext]',
199-
publicPath: '/', // required to remove css/ path segment
199+
publicPath: '../', // required to remove css/ path segment
200200
}
201201
},
202202
],

0 commit comments

Comments
 (0)