Fixed pingable endpoint

This commit is contained in:
TypoMustakes
2023-12-06 10:59:05 +01:00
parent f8ad2bde48
commit b0887b0991
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.Client
static void Main(string[] args) static void Main(string[] args)
{ {
CompanyDbContext dbContext = new CompanyDbContext(); CompanyDbContext dbContext = new CompanyDbContext();
RestService rest = new RestService("127.0.0.1:5000", "api"); RestService rest = new RestService("127.0.0.1:5000");
} }
} }
} }

View File

@@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.Client
{ {
HttpClient client; HttpClient client;
public RestService(string baseurl, string pingableEndpoint = "api") public RestService(string baseurl, string pingableEndpoint = "/api")
{ {
bool isOk = false; bool isOk = false;
do do