Skip to content

Commit

Permalink
Merge pull request #21 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 e6e57e6 + 0081985 commit dfeee0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/javascript-node
{
"name": "ns8-kickstart",
"name": "ns8-netdata",
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18-bullseye",
// Configure tool-specific properties.
"customizations": {
Expand Down
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;
});
},
};

0 comments on commit dfeee0c

Please sign in to comment.