diff --git a/WD7UVN_HFT_2023241.Client/Program.cs b/WD7UVN_HFT_2023241.Client/Program.cs index df3b158..0e6ab2d 100644 --- a/WD7UVN_HFT_2023241.Client/Program.cs +++ b/WD7UVN_HFT_2023241.Client/Program.cs @@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.Client static void Main(string[] args) { CompanyDbContext dbContext = new CompanyDbContext(); - RestService rest = new RestService("127.0.0.1:5000", "api"); + RestService rest = new RestService("127.0.0.1:5000"); } } } diff --git a/WD7UVN_HFT_2023241.Client/RestService.cs b/WD7UVN_HFT_2023241.Client/RestService.cs index e45c0db..7a2ed1a 100644 --- a/WD7UVN_HFT_2023241.Client/RestService.cs +++ b/WD7UVN_HFT_2023241.Client/RestService.cs @@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.Client { HttpClient client; - public RestService(string baseurl, string pingableEndpoint = "api") + public RestService(string baseurl, string pingableEndpoint = "/api") { bool isOk = false; do