diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cee5521..1f264ff 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": { diff --git a/ui/vue.config.js b/ui/vue.config.js index 20f9687..2b81b13 100644 --- a/ui/vue.config.js +++ b/ui/vue.config.js @@ -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; + }); + }, };