diff --git a/webpack.config.js b/webpack.config.js index 5cb339a..00568c4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -84,7 +84,8 @@ export default { patterns: [ { from: 'wwwroot/assets/image', to: 'assets/image' }, { from: 'wwwroot/assets/sample', to: 'assets/sample', noErrorOnMissing: true }, - { from: 'wwwroot/config', to: 'config', noErrorOnMissing: true } + { from: 'wwwroot/config', to: 'config', noErrorOnMissing: true }, + { from: 'wwwroot/metadata', to: 'metadata' }, ] }), new HtmlWebpackPlugin({ diff --git a/wwwroot/modules/components/versionManager.js b/wwwroot/modules/components/versionManager.js index 7dda738..68532e9 100644 --- a/wwwroot/modules/components/versionManager.js +++ b/wwwroot/modules/components/versionManager.js @@ -59,7 +59,7 @@ export default class VersionManager { if (resp.ok) { this.#version = JSON.parse(await resp.text()); } else { - this.#version = { versions: [], channels: {} }; + this.#version = { versions: {}, channels: {}, channelHostMappings: {} }; } return this.#version;