mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-26 08:41:50 +01:00
open server's location please!
This commit is contained in:
parent
8ebd7869a5
commit
6bc36193dc
@ -19,7 +19,7 @@ import kotlin.system.exitProcess
|
|||||||
|
|
||||||
fun openInBrowser() {
|
fun openInBrowser() {
|
||||||
try {
|
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
|
} catch (e: Throwable) { // cover both java.lang.Exception and java.lang.Error
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user