Fixes the /chathub URL
This commit is contained in:
parent
251cc9cd48
commit
bb773ba29a
3 changed files with 2 additions and 13 deletions
|
|
@ -1,11 +0,0 @@
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace PostIt.ViewModels.Chat
|
|
||||||
{
|
|
||||||
// DTO minimal calqué sur votre logique serveur ChatRoomInfo
|
|
||||||
public class ChatRoomInfo
|
|
||||||
{
|
|
||||||
public string? Name { get; set; }
|
|
||||||
public List<string> Users { get; set; } = new();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -13,7 +13,7 @@ namespace PostIt.ViewModels.Chat
|
||||||
private HubConnection? _connection;
|
private HubConnection? _connection;
|
||||||
|
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
public partial string ServerUrl { get; protected set; } = "http://localhost:5000/chathub";
|
public partial string ServerUrl { get; protected set; } = "https://yavsc.pschneider.fr/chathub";
|
||||||
|
|
||||||
|
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
|
|
|
||||||
|
|
@ -1054,7 +1054,7 @@ public static class HostingExtensions
|
||||||
app.MapDefaultControllerRoute();
|
app.MapDefaultControllerRoute();
|
||||||
app.MapStaticAssets(staticAssetsManifestPath);
|
app.MapStaticAssets(staticAssetsManifestPath);
|
||||||
//app.MapRazorPages();
|
//app.MapRazorPages();
|
||||||
app.MapHub<ChatHub>("/chatHub");
|
app.MapHub<ChatHub>("/chathub");
|
||||||
|
|
||||||
WorkflowHelpers.ConfigureBillingService();
|
WorkflowHelpers.ConfigureBillingService();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue