From 6bc36193dc8d3af4c1443680e5224d0496942786 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Wed, 19 May 2021 13:42:18 +0430 Subject: [PATCH] open server's location please! --- .../main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt b/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt index 3e84c09..3e00571 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/server/util/SystemTray.kt @@ -19,7 +19,7 @@ import kotlin.system.exitProcess fun openInBrowser() { try { - Desktop.browseURL("http://127.0.0.1:4567") + Desktop.browseURL("http://${serverConfig.ip}:${serverConfig.port}") } catch (e: Throwable) { // cover both java.lang.Exception and java.lang.Error e.printStackTrace() }