Bind API url for all entries #32
@@ -94,7 +94,7 @@ services.AddCors(option => option.AddDefaultPolicy(policy =>
|
|||||||
.AllowAnyHeader()
|
.AllowAnyHeader()
|
||||||
.WithMethods("GET", "POST", "PUT", "DELETE")));
|
.WithMethods("GET", "POST", "PUT", "DELETE")));
|
||||||
|
|
||||||
builder.WebHost.UseUrls($"http://127.0.0.1:{GlobalConstants.API_PORT}");
|
builder.WebHost.UseUrls($"http://0.0.0.0:{GlobalConstants.API_PORT}");
|
||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user