This commit is contained in:
Stanley Dimant 2022-08-04 01:09:49 +02:00
parent 2170eb127e
commit 0dc4436ba3
3 changed files with 3 additions and 4 deletions

@ -1 +1 @@
Subproject commit 50a447c4d0e4264fa8f08f90998c3e36e0b098e2
Subproject commit 1ee130413f75da38618f968f4ac813c3205d2adb

View file

@ -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();
});
}
}

View file

@ -43,7 +43,6 @@ public class SignalRLimitFilter : IHubFilter
}
}
//Console.WriteLine($"Calling hub method '{invocationContext.HubMethodName}'");
return await next(invocationContext);
}