diff --git a/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java b/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java index a58591a93d..cf095308a5 100644 --- a/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java +++ b/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java @@ -18,6 +18,7 @@ import org.jetbrains.annotations.NotNull; import org.takes.Take; import org.takes.facets.fork.FkRegex; import org.takes.facets.fork.TkFork; +import org.takes.http.Front; import org.takes.http.FtBasic; import org.takes.rs.RsHtml; import org.takes.rs.RsJson; @@ -101,23 +102,23 @@ public class Backend implements Closeable { try { log.info("Starting http backend on " + httpPort); try { - new FtBasic( - new TkFork(showOnlineControllers, - showOnlineApplications, - new Monitoring(this).showStatistics, - new FkRegex(ProxyClient.VERSION_PATH, ProxyClient.BACKEND_VERSION), - new FkRegex("/", new RsHtml("
\n" + - "