fixing host and port

This commit is contained in:
Michele Scandura 2020-11-23 10:08:42 +00:00
parent f52ceb7a85
commit 8a314cb321
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ namespace Sledgemapper.Api
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>().UseUrls("http://localhost:5001");
webBuilder.UseStartup<Startup>());
});
// public static IHostBuilder CreateHostBuilder(string[] args) =>

View file

@ -29,7 +29,7 @@ namespace Sledgemapper
//.WithUrl("http://hub.michelescandura.com:5001/SledgemapperHub")
//.WithUrl("http://localhost:5001/SledgemapperHub", options =>
.WithUrl("http://hub.michelescandura.com:5001/SledgemapperHub", options =>
.WithUrl("http://hub.michelescandura.com:5000/SledgemapperHub", options =>
{
options.AccessTokenProvider = () => Task.FromResult(_authenticateResponse.Token);
})
@ -41,7 +41,7 @@ namespace Sledgemapper
Api = RestService.For<IMapApi>(
new HttpClient(new AuthenticatedHttpClientHandler(GetToken))
{
BaseAddress = new Uri("http://hub.michelescandura.com:5001")
BaseAddress = new Uri("http://hub.michelescandura.com:5000")
// BaseAddress = new Uri("http://localhost:5001")
}
);