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