small adaptation

This commit is contained in:
InsanusMokrassar committed 2024-10-30 18:09:23 +06:00
1 parent a50eda366d
commit 73064db226
2 files changed
+2 -5

No files matched your search

+1 -4
View File
@@ -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/")
+1 -1
View File
@@ -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