add admin related things

This commit is contained in:
Stanley Dimant
2022-06-30 01:53:28 +02:00
parent dd1a6e910e
commit 3e00bc4efd
14 changed files with 651 additions and 6 deletions

View File

@@ -94,6 +94,7 @@ namespace MareSynchronosServer
{
options.Transports = HttpTransportType.WebSockets;
});
endpoints.MapHub<AdminHub>("/admin", options => options.Transports = HttpTransportType.WebSockets);
endpoints.MapHub<FilesHub>("/files", options =>
{
options.ApplicationMaxBufferSize = long.MaxValue;