mirror of https://github.com/go-gitea/gitea.git
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',
|
||||
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
|
||||
}
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue