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

Submodule MareAPI updated: 50a447c4d0...1ee130413f

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