diff options
author | zeripath <art27@cantab.net> | 2021-04-15 23:15:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 01:15:51 +0300 |
commit | 6a7090b41df6e0a782f04707af60ebfbec9db0a5 (patch) | |
tree | cba3bed98fe3aa722cbbb56be720c993aed97057 /webpack.config.js | |
parent | 953f39822b6dced03a8ae3f724a8d54753e5fffc (diff) | |
download | gitea-6a7090b41df6e0a782f04707af60ebfbec9db0a5.tar.gz gitea-6a7090b41df6e0a782f04707af60ebfbec9db0a5.zip |
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>
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 4 |
1 files 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 } }, ], |