bump api
This commit is contained in:
2
MareAPI
2
MareAPI
Submodule MareAPI updated: 50a447c4d0...1ee130413f
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user