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.
@@ -3979,7 +3979,11 @@ class MenuService {
3979
3979
  }
3980
3980
  async getMenuLinks(BASE_URL) {
3981
3981
  const normalizedBaseUrl = this.setDefaultProtocol(BASE_URL);
3982
- const { data } = await this.getMenuConfig(`${normalizedBaseUrl}/developer/charts/installed`);
3982
+ // Create a URL object from normalizedBaseUrl
3983
+ const urlObj = new URL(normalizedBaseUrl);
3984
+ // Add the 'containerisationbackend' subdomain
3985
+ urlObj.hostname = `containerisationbackend.${urlObj.hostname}`;
3986
+ const { data } = await this.getMenuConfig(`${urlObj.origin}/developer/charts/installed`);
3983
3987
  return data.map(d => {
3984
3988
  var _a, _b, _c;
3985
3989
  const frontendUrlPrefix = (_a = d.metadata) === null || _a === void 0 ? void 0 : _a.frontendUrlPrefix;