dash-button-web 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3975,7 +3975,11 @@ class MenuService {
3975
3975
  }
3976
3976
  async getMenuLinks(BASE_URL) {
3977
3977
  const normalizedBaseUrl = this.setDefaultProtocol(BASE_URL);
3978
- const { data } = await this.getMenuConfig(`${normalizedBaseUrl}/developer/charts/installed`);
3978
+ // Create a URL object from normalizedBaseUrl
3979
+ const urlObj = new URL(normalizedBaseUrl);
3980
+ // Add the 'containerisationbackend' subdomain
3981
+ urlObj.hostname = `containerisationbackend.${urlObj.hostname}`;
3982
+ const { data } = await this.getMenuConfig(`${urlObj.origin}/developer/charts/installed`);
3979
3983
  return data.map(d => {
3980
3984
  var _a, _b, _c;
3981
3985
  const frontendUrlPrefix = (_a = d.metadata) === null || _a === void 0 ? void 0 : _a.frontendUrlPrefix;