Fixed connection string
This commit is contained in:
@@ -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");
|
||||
RestService rest = new RestService();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.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;
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user