Reputation: 1204
I have a signalR application and it is working as expected. But I would like to change the path to the hub.
currently it is /signalr/hub/ but I want to be able to set it to something else.
How can I change the route?
Upvotes: 2
Views: 2662
Reputation: 5735
On the server you can do :
app.MapSignalR("/newHubLocation", new HubConfiguration());
Upvotes: 4