Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00

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>
This commit is contained in:
zeripath 2021-04-15 23:15:51 +01:00 committed by GitHub
parent 953f39822b
commit 6a7090b41d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,7 +188,7 @@ export default {
type: 'asset/resource', type: 'asset/resource',
generator: { generator: {
filename: 'fonts/[name][ext]', 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', type: 'asset/resource',
generator: { generator: {
filename: 'img/webpack/[name][ext]', filename: 'img/webpack/[name][ext]',
publicPath: '/', // required to remove css/ path segment publicPath: '../', // required to remove css/ path segment
} }
}, },
], ],