SignalR chat connection OK

This commit is contained in:
Paul Schneider 2026-10-03 22:47:47 +01:00
commit b22a26f61e
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
43 changed files with 430 additions and 252 deletions

View file

@ -400,7 +400,7 @@ namespace Yavsc.Controllers
public IActionResult SetUserName()
{
return View(new SetUserNameViewModel() { UserName = User.Identity.Name });
return View(new SetUserNameViewModel() { UserName = User.GetUserName() });
}
[HttpPost]

View file

@ -1053,8 +1053,6 @@ public static class HostingExtensions
app.UseCors("default");
app.MapDefaultControllerRoute();
app.MapStaticAssets(staticAssetsManifestPath);
//app.MapRazorPages();
app.MapHub<ChatHub>("/chathub");
WorkflowHelpers.ConfigureBillingService();