launch parameter for Syer

This commit is contained in:
Aria Moradi
2021-08-08 05:32:14 +04:30
parent 0f88baf1c1
commit f566f13423
@@ -17,7 +17,8 @@ class ServerConfig(config: Config) : ConfigModule(config) {
val ip: String by config
val port: Int by config
val webUIEnabled: Boolean by config
val webUIEnabled: Boolean = System.getProperty(
"suwayomi.tachidesk.server.webUIEnabled",config.getString("webUIEnabled")).toBoolean()
// proxy
val socksProxyEnabled: Boolean by config