Skip to content

Commit

Permalink
small adaptation
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanusMokrassar committed Oct 30, 2024
1 parent a50eda3 commit 73064db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions WebApp/src/jvmMain/kotlin/WebAppServer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ suspend fun main(vararg args: String) {
val bot = telegramBot(telegramBotAPIUrlsKeeper)
createKtorServer(
"0.0.0.0",
args.getOrNull(2) ?.toIntOrNull() ?: 8080,
additionalEngineEnvironmentConfigurator = {
parentCoroutineContext += Dispatchers.IO
}
args.getOrNull(2) ?.toIntOrNull() ?: 8080
) {
routing {
val baseJsFolder = File("WebApp/build/dist/js/")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ kotlin_version=2.0.21
telegram_bot_api_version=19.0.0
micro_utils_version=0.23.0
serialization_version=1.7.3
ktor_version=3.0.0
ktor_version=3.0.1

0 comments on commit 73064db

Please sign in to comment.