17 lines
390 B
Kotlin
17 lines
390 B
Kotlin
|
package observer.nelle
|
||
|
|
||
|
import io.ktor.server.application.*
|
||
|
import observer.nelle.plugins.configureRouting
|
||
|
import observer.nelle.plugins.configureSecurity
|
||
|
import observer.nelle.plugins.configureTemplating
|
||
|
|
||
|
fun main(args: Array<String>) {
|
||
|
io.ktor.server.netty.EngineMain.main(args)
|
||
|
}
|
||
|
|
||
|
fun Application.module() {
|
||
|
configureTemplating()
|
||
|
configureSecurity()
|
||
|
configureRouting()
|
||
|
}
|