16 lines
392 B
Kotlin
16 lines
392 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()
|
|
}
|