diff --git a/startup/launcher/src/commonMain/kotlin/ServerLauncher.kt b/startup/launcher/src/commonMain/kotlin/ServerLauncher.kt index 9f63ef3add7..a7f871d261a 100644 --- a/startup/launcher/src/commonMain/kotlin/ServerLauncher.kt +++ b/startup/launcher/src/commonMain/kotlin/ServerLauncher.kt @@ -7,11 +7,7 @@ import org.koin.core.Koin import org.koin.core.module.Module import org.koin.dsl.module -class ServerLauncher : ServerPlugin { - val defaultJson = Json { - ignoreUnknownKeys = true - } - +object ServerLauncher : ServerPlugin { override fun Module.setupDI(config: JsonObject) { val pluginsConfig = defaultJson.decodeFromJsonElement(Config.serializer(), config)