diff --git a/cli/cli/Commands/Portal/ListMountSitesCommand.cs b/cli/cli/Commands/Portal/ListMountSitesCommand.cs index 9f29b251a2..e45df9f6ad 100644 --- a/cli/cli/Commands/Portal/ListMountSitesCommand.cs +++ b/cli/cli/Commands/Portal/ListMountSitesCommand.cs @@ -12,7 +12,7 @@ public class ListMountSitesCommandResults } /// -/// this is the data structure representing https://portal.beamable.com/extension-pages.json +/// this is the data structure representing https://console.beamable.com/extension-pages.json /// [Serializable] public class RemotePortalConfiguration diff --git a/cli/cli/Services/IRemotePortalConfigService.cs b/cli/cli/Services/IRemotePortalConfigService.cs index 52fdb260a2..2bac1b3985 100644 --- a/cli/cli/Services/IRemotePortalConfigService.cs +++ b/cli/cli/Services/IRemotePortalConfigService.cs @@ -42,7 +42,7 @@ public async Task GetRemotePortalConfig(CommandArgs a /// private static async Task FetchRemotePortalConfig(CommandArgs args) { - var url = "http://localhost:4950/" + "/extension-pages.json"; + var url = PortalCommand.GetPortalBaseUrl(args, PortalType.Console) + "/extension-pages.json"; try { var client = new HttpClient();