changing port

This commit is contained in:
Michele 2020-11-22 23:23:52 +00:00
parent 1510b93fa0
commit f52ceb7a85
2 changed files with 6 additions and 6 deletions

View file

@ -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")
}
);