mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 06:44:14 +01:00
bump api
This commit is contained in:
parent
2170eb127e
commit
0dc4436ba3
3 changed files with 3 additions and 4 deletions
|
|
@ -114,6 +114,8 @@ namespace MareSynchronosServer
|
|||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
app.UseMetricServer(4980);
|
||||
|
||||
app.UseStaticFiles(new StaticFileOptions()
|
||||
{
|
||||
FileProvider = new PhysicalFileProvider(Configuration["CacheDirectory"]),
|
||||
|
|
@ -129,8 +131,6 @@ namespace MareSynchronosServer
|
|||
options.TransportMaxBufferSize = 5242880;
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue