@ews-admin/global-design-system 1.1.23 → 1.1.25

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.
package/dist/index.esm.js CHANGED
@@ -13,15 +13,16 @@ const LOCAL_PORTS = {
13
13
  };
14
14
  function buildUrls(environment) {
15
15
  if (environment === "local") {
16
- const base = "http://local";
17
16
  const domain = "medecine360local.com";
17
+ // APIs run at api.medecine360local.com (no "local." prefix)
18
+ // Frontend apps run at local.{app}.medecine360local.com
18
19
  return {
19
- bffUrl: `${base}.api.${domain}:${LOCAL_PORTS.bff}/bff/api/v1`,
20
- loginBffUrl: `${base}.api.${domain}:${LOCAL_PORTS.loginBff}/login-bff/api/v1`,
21
- appUrl: `${base}.app.${domain}:${LOCAL_PORTS.app}`,
22
- loginUrl: `${base}.login.${domain}:${LOCAL_PORTS.login}`,
23
- dashboardUrl: `${base}.dashboard.${domain}:${LOCAL_PORTS.dashboard}`,
24
- adminUrl: `${base}.admin.${domain}:${LOCAL_PORTS.admin}`,
20
+ bffUrl: `http://api.${domain}:${LOCAL_PORTS.bff}/api/v1`,
21
+ loginBffUrl: `http://api.${domain}:${LOCAL_PORTS.loginBff}/api/v1`,
22
+ appUrl: `http://local.app.${domain}:${LOCAL_PORTS.app}`,
23
+ loginUrl: `http://local.login.${domain}:${LOCAL_PORTS.login}`,
24
+ dashboardUrl: `http://local.dashboard.${domain}:${LOCAL_PORTS.dashboard}`,
25
+ adminUrl: `http://local.admin.${domain}:${LOCAL_PORTS.admin}`,
25
26
  };
26
27
  }
27
28
  const prefix = environment === "prod" ? "" : `${environment}.`;