add admin related things
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user