mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-29 09:09:18 +01:00
add admin related things
This commit is contained in:
parent
dd1a6e910e
commit
3e00bc4efd
14 changed files with 651 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue