nelle-observer/ktor/src/main/kotlin/Application.kt

17 lines
392 B
Kotlin
Raw Normal View History

2024-08-11 00:46:37 -06:00
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() {
2024-08-11 01:32:31 -06:00
//configureTemplating()
2024-08-11 00:46:37 -06:00
configureSecurity()
configureRouting()
}