Skip to content

Commit

Permalink
Merge pull request #10 from NethServer/fix-logo-generation
Browse files Browse the repository at this point in the history
fix: ensure logo image is generated
  • Loading branch information
andre8244 authored Jul 3, 2024
2 parents 7178d09 + 1ad716e commit bd84f26
Show file tree
Hide file tree
Showing 3 changed files with 515 additions and 504 deletions.
Binary file modified ui/src/assets/module_default_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions ui/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,15 @@ module.exports = {
},
},
},
chainWebpack: (config) => {
config.module
.rule("images")
.use("url-loader")
.loader("url-loader")
.tap((options) => {
// Do not base64 encode images URLs. Needed to always generate module logo image
options.limit = -1;
return options;
});
},
};
Loading

0 comments on commit bd84f26

Please sign in to comment.