refactor(wrapper): removed the logger stuff so we dont fill up space

This commit is contained in:
2025-07-29 18:06:27 -05:00
parent a761a3634b
commit 8a08d3eac6

View File

@@ -40,7 +40,7 @@ app.Use(async (context, next) =>
{
if (context.WebSockets.IsWebSocketRequest && context.Request.Path.StartsWithSegments("/ws"))
{
LogToFile($"WebSocket request received for path: {context.Request.Path}");
// LogToFile($"WebSocket request received for path: {context.Request.Path}");
try
{
@@ -65,7 +65,7 @@ app.Use(async (context, next) =>
}
catch (Exception ex)
{
LogToFile($"WebSocket proxy error: {ex.Message}");
//LogToFile($"WebSocket proxy error: {ex.Message}");
context.Response.StatusCode = (int)HttpStatusCode.BadGateway;
await context.Response.WriteAsync($"WebSocket proxy error: {ex.Message}");
}