From 9b83a4537c29e929e7d11dbcbf4c1cb5fe4b0cb9 Mon Sep 17 00:00:00 2001 From: khituras Date: Thu, 5 Sep 2024 13:45:15 +0200 Subject: [PATCH] Debug output for connection details --- .../src/main/java/de/julielab/gepi/webapp/pages/Index.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gepi/gepi-webapp/src/main/java/de/julielab/gepi/webapp/pages/Index.java b/gepi/gepi-webapp/src/main/java/de/julielab/gepi/webapp/pages/Index.java index 45d65797..7b467f5a 100644 --- a/gepi/gepi-webapp/src/main/java/de/julielab/gepi/webapp/pages/Index.java +++ b/gepi/gepi-webapp/src/main/java/de/julielab/gepi/webapp/pages/Index.java @@ -172,7 +172,12 @@ public Future getUnrolledResult4download() { } void afterRender() { + System.out.println("Server Name: " + request.getServerName()); System.out.println("Server Port: " + request.getServerPort()); + System.out.println("Local Port: " + request.getLocalPort()); + System.out.println("Is Secure: " + request.isSecure()); + System.out.println("Path: " + request.getPath()); + System.out.println("Remote Host: " + request.getRemoteHost()); javaScriptSupport.require("gepi/base").invoke("setuptooltips"); javaScriptSupport.require("gepi/charts/data").invoke("setDataUrl").with(resources.createEventLink("loadDataToClient").toAbsoluteURI(productionMode)); javaScriptSupport.require("gepi/pages/index").invoke("setupDownloadUrlCopyButton");