Skip to content

Commit

Permalink
Add metadata directory to deployment script.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicDoesCode committed May 11, 2024
1 parent 71769d4 commit 3aa30f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion wwwroot/modules/components/versionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3aa30f0

Please sign in to comment.