Skip to content

Commit

Permalink
CORs stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenreup committed Jan 24, 2025
1 parent f8b8e95 commit 1cee257
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import io.github.cdimascio.dotenv.Dotenv
import io.ktor.serialization.gson.*
import io.ktor.server.application.*
import io.ktor.server.plugins.contentnegotiation.*
import io.ktor.server.plugins.cors.routing.*
import org.dtree.fhir.core.di.FhirProvider
import org.dtree.fhir.server.data.JobHistoryRepository
import org.dtree.fhir.server.plugins.injection.ModulesInjection
Expand Down Expand Up @@ -49,4 +50,7 @@ fun Application.configureFrameworks(dotEnv: Dotenv) {
})

}
install(CORS) {
anyHost()
}
}

0 comments on commit 1cee257

Please sign in to comment.