mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 03:14:40 -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 ip: String by config
|
||||||
val port: Int by config
|
val port: Int by config
|
||||||
|
|
||||||
|
val webUIEnabled: Boolean by config
|
||||||
|
|
||||||
// proxy
|
// proxy
|
||||||
val socksProxyEnabled: Boolean by config
|
val socksProxyEnabled: Boolean by config
|
||||||
val socksProxyHost: String 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
|
// fixes #119 , ref: https://github.com/Suwayomi/Tachidesk-Server/issues/119#issuecomment-894681292
|
||||||
Locale.setDefault(Locale.ENGLISH)
|
Locale.setDefault(Locale.ENGLISH)
|
||||||
|
|
||||||
databaseUp()
|
databaseUp()
|
||||||
|
|
||||||
// create system tray
|
// 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.dao.id.IntIdTable
|
||||||
import org.jetbrains.exposed.sql.Table
|
import org.jetbrains.exposed.sql.Table
|
||||||
|
|
||||||
|
|
||||||
@Suppress("ClassName", "unused")
|
@Suppress("ClassName", "unused")
|
||||||
/** initial migration, create all tables */
|
/** initial migration, create all tables */
|
||||||
class M0001_Initial : AddTableMigration() {
|
class M0001_Initial : AddTableMigration() {
|
||||||
|
|||||||
@@ -10,4 +10,7 @@ server.socksProxyPort = ""
|
|||||||
# misc
|
# misc
|
||||||
server.debugLogsEnabled = false
|
server.debugLogsEnabled = false
|
||||||
server.systemTrayEnabled = true
|
server.systemTrayEnabled = true
|
||||||
|
|
||||||
|
# webUI
|
||||||
|
server.webUIEnabled = true
|
||||||
server.initialOpenInBrowserEnabled = true
|
server.initialOpenInBrowserEnabled = true
|
||||||
|
|||||||
Reference in New Issue
Block a user