mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
				synced 2025-11-04 14:10:51 +00:00 
			
		
		
		
	small adaptation
This commit is contained in:
		@@ -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/")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user