mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-22 22:33:37 +08: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:
parent
953f39822b
commit
6a7090b41d
|
@ -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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user