From ae8d30593fda2c722999f2f8bc8f1fea9a5abf99 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Wed, 19 May 2021 23:05:25 +0430 Subject: [PATCH] lint --- .../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 c94e72a..1556657 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 @@ -20,7 +20,7 @@ import ir.armor.tachidesk.server.util.ExitCode.Success fun openInBrowser() { val appIP = if (serverConfig.ip == "0.0.0.0") "127.0.0.1" else serverConfig.ip try { - Desktop.browseURL("http://${appIP}:${serverConfig.port}") + Desktop.browseURL("http://$appIP:${serverConfig.port}") } catch (e: Throwable) { // cover both java.lang.Exception and java.lang.Error e.printStackTrace() }