feat: Setup cors and cache

This commit is contained in:
oSumAtrIX
2024-06-08 03:41:48 +02:00
parent 81cc5968d4
commit 205bcde77a
8 changed files with 69 additions and 23 deletions

View File

@@ -39,7 +39,7 @@ internal object StartAPICommand : Runnable {
override fun run() {
embeddedServer(Jetty, port, host) {
configureDependencies(configFile)
configureHTTP(allowedHost = host)
configureHTTP()
configureSerialization()
configureSecurity()
configureRouting()