changing port
This commit is contained in:
parent
1510b93fa0
commit
f52ceb7a85
2 changed files with 6 additions and 6 deletions
|
@ -20,7 +20,7 @@ namespace Sledgemapper.Api
|
|||
Host.CreateDefaultBuilder(args)
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>().UseUrls("http://localhost:5000");
|
||||
webBuilder.UseStartup<Startup>().UseUrls("http://localhost:5001");
|
||||
});
|
||||
|
||||
// public static IHostBuilder CreateHostBuilder(string[] args) =>
|
||||
|
|
|
@ -26,10 +26,10 @@ namespace Sledgemapper
|
|||
SessionData = sessionData;
|
||||
Connection = new HubConnectionBuilder()
|
||||
.WithAutomaticReconnect()
|
||||
//.WithUrl("http://hub.michelescandura.com:5000/SledgemapperHub")
|
||||
//.WithUrl("http://hub.michelescandura.com:5001/SledgemapperHub")
|
||||
|
||||
//.WithUrl("http://localhost:5000/SledgemapperHub", options =>
|
||||
.WithUrl("http://hub.michelescandura.com:5000/SledgemapperHub", options =>
|
||||
//.WithUrl("http://localhost:5001/SledgemapperHub", options =>
|
||||
.WithUrl("http://hub.michelescandura.com:5001/SledgemapperHub", options =>
|
||||
{
|
||||
options.AccessTokenProvider = () => Task.FromResult(_authenticateResponse.Token);
|
||||
})
|
||||
|
@ -41,8 +41,8 @@ namespace Sledgemapper
|
|||
Api = RestService.For<IMapApi>(
|
||||
new HttpClient(new AuthenticatedHttpClientHandler(GetToken))
|
||||
{
|
||||
BaseAddress = new Uri("http://hub.michelescandura.com:5000")
|
||||
// BaseAddress = new Uri("http://localhost:5000")
|
||||
BaseAddress = new Uri("http://hub.michelescandura.com:5001")
|
||||
// BaseAddress = new Uri("http://localhost:5001")
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue