Fixed connection string

This commit is contained in:
TypoMustakes
2023-12-06 15:15:58 +01:00
parent 4513ec27c9
commit cb8f992fb4
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"); RestService rest = new RestService();
} }
} }
} }

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 = "127.0.0.1:5001", string pingableEndpoint = "/swagger")
{ {
bool isOk = false; bool isOk = false;
do do