Created
October 31, 2021 08:53
-
-
Save aqua30/3bd47ece14cd8cb236ed4145b0776608 to your computer and use it in GitHub Desktop.
Application class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main(args: Array<String>): Unit = | |
io.ktor.server.netty.EngineMain.main(args) | |
@Suppress("unused") // application.conf references the main function. This annotation prevents the IDE from marking it as unused. | |
fun Application.module() { | |
configureSerialization() | |
configureMonitoring() | |
registerDogsRoute() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment