diff --git a/server/src/main/kotlin/ir/armor/tachidesk/server/JavalinSetup.kt b/server/src/main/kotlin/ir/armor/tachidesk/server/JavalinSetup.kt index 2eabda5..e05eb1d 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/server/JavalinSetup.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/server/JavalinSetup.kt @@ -82,9 +82,9 @@ object JavalinSetup { // when JVM is prompted to shutdown, stop javalin gracefully Runtime.getRuntime().addShutdownHook( - thread(start = false) { - app.stop() - } + thread(start = false) { + app.stop() + } ) if (hasWebUiBundled && serverConfig.initialOpenInBrowserEnabled) { diff --git a/server/src/main/kotlin/ir/armor/tachidesk/server/ServerSetup.kt b/server/src/main/kotlin/ir/armor/tachidesk/server/ServerSetup.kt index 9534abe..31087d1 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/server/ServerSetup.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/server/ServerSetup.kt @@ -10,7 +10,7 @@ package ir.armor.tachidesk.server import ch.qos.logback.classic.Level import eu.kanade.tachiyomi.App import ir.armor.tachidesk.Main -import ir.armor.tachidesk.model.dataclass.makeDataBaseTables +import ir.armor.tachidesk.model.database.makeDataBaseTables import ir.armor.tachidesk.server.util.systemTray import mu.KotlinLogging import org.kodein.di.DI