mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-18 18:54:15 +01:00
bump api
This commit is contained in:
parent
2170eb127e
commit
0dc4436ba3
3 changed files with 3 additions and 4 deletions
2
MareAPI
2
MareAPI
|
|
@ -1 +1 @@
|
||||||
Subproject commit 50a447c4d0e4264fa8f08f90998c3e36e0b098e2
|
Subproject commit 1ee130413f75da38618f968f4ac813c3205d2adb
|
||||||
|
|
@ -114,6 +114,8 @@ namespace MareSynchronosServer
|
||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
app.UseAuthorization();
|
app.UseAuthorization();
|
||||||
|
|
||||||
|
app.UseMetricServer(4980);
|
||||||
|
|
||||||
app.UseStaticFiles(new StaticFileOptions()
|
app.UseStaticFiles(new StaticFileOptions()
|
||||||
{
|
{
|
||||||
FileProvider = new PhysicalFileProvider(Configuration["CacheDirectory"]),
|
FileProvider = new PhysicalFileProvider(Configuration["CacheDirectory"]),
|
||||||
|
|
@ -129,8 +131,6 @@ namespace MareSynchronosServer
|
||||||
options.TransportMaxBufferSize = 5242880;
|
options.TransportMaxBufferSize = 5242880;
|
||||||
options.Transports = HttpTransportType.WebSockets;
|
options.Transports = HttpTransportType.WebSockets;
|
||||||
});
|
});
|
||||||
|
|
||||||
endpoints.MapMetrics();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,6 @@ public class SignalRLimitFilter : IHubFilter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Console.WriteLine($"Calling hub method '{invocationContext.HubMethodName}'");
|
|
||||||
return await next(invocationContext);
|
return await next(invocationContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue