mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 09:24:34 -05:00
add webUIEnabled config
This commit is contained in:
@@ -17,6 +17,8 @@ class ServerConfig(config: Config) : ConfigModule(config) {
|
||||
val ip: String by config
|
||||
val port: Int by config
|
||||
|
||||
val webUIEnabled: Boolean by config
|
||||
|
||||
// proxy
|
||||
val socksProxyEnabled: Boolean by config
|
||||
val socksProxyHost: String by config
|
||||
|
||||
@@ -97,6 +97,7 @@ fun applicationSetup() {
|
||||
|
||||
// fixes #119 , ref: https://github.com/Suwayomi/Tachidesk-Server/issues/119#issuecomment-894681292
|
||||
Locale.setDefault(Locale.ENGLISH)
|
||||
|
||||
databaseUp()
|
||||
|
||||
// create system tray
|
||||
|
||||
@@ -13,7 +13,6 @@ import org.jetbrains.exposed.dao.id.IdTable
|
||||
import org.jetbrains.exposed.dao.id.IntIdTable
|
||||
import org.jetbrains.exposed.sql.Table
|
||||
|
||||
|
||||
@Suppress("ClassName", "unused")
|
||||
/** initial migration, create all tables */
|
||||
class M0001_Initial : AddTableMigration() {
|
||||
|
||||
@@ -10,4 +10,7 @@ server.socksProxyPort = ""
|
||||
# misc
|
||||
server.debugLogsEnabled = false
|
||||
server.systemTrayEnabled = true
|
||||
|
||||
# webUI
|
||||
server.webUIEnabled = true
|
||||
server.initialOpenInBrowserEnabled = true
|
||||
|
||||
Reference in New Issue
Block a user