File tree Expand file tree Collapse file tree
src/Mobile/eShopOnContainers/eShopOnContainers.Core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22{
33 public class GlobalSetting
44 {
5+ public const string AzureTag = "Azure" ;
6+ public const string MockTag = "Mock" ;
7+
58 private string _baseEndpoint ;
69 private static readonly GlobalSetting _instance = new GlobalSetting ( ) ;
710
@@ -48,7 +51,7 @@ public string BaseEndpoint
4851
4952 private void UpdateEndpoint ( string baseEndpoint )
5053 {
51- RegisterWebsite = string . Format ( "{0}/Account/Register" , baseEndpoint ) ;
54+ RegisterWebsite = string . Format ( "{0}:5105 /Account/Register" , baseEndpoint ) ;
5255 CatalogEndpoint = string . Format ( "{0}:5101" , baseEndpoint ) ;
5356 OrdersEndpoint = string . Format ( "{0}:5102" , baseEndpoint ) ;
5457 BasketEndpoint = string . Format ( "{0}:5103" , baseEndpoint ) ;
Original file line number Diff line number Diff line change 1- using eShopOnContainers . Core . ViewModels ;
1+ using eShopOnContainers . Core . Helpers ;
2+ using eShopOnContainers . Core . ViewModels ;
23using System ;
34using System . Diagnostics ;
45using System . Threading . Tasks ;
@@ -17,6 +18,8 @@ public LoginView()
1718
1819 protected override async void OnAppearing ( )
1920 {
21+ GlobalSetting . Instance . BaseEndpoint = Settings . UrlBase ;
22+
2023 var content = this . Content ;
2124 this . Content = null ;
2225 this . Content = content ;
You can’t perform that action at this time.
0 commit comments