We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b8e95 commit 1cee257Copy full SHA for 1cee257
server/src/main/kotlin/org/dtree/fhir/server/plugins/Frameworks.kt
@@ -4,6 +4,7 @@ import io.github.cdimascio.dotenv.Dotenv
4
import io.ktor.serialization.gson.*
5
import io.ktor.server.application.*
6
import io.ktor.server.plugins.contentnegotiation.*
7
+import io.ktor.server.plugins.cors.routing.*
8
import org.dtree.fhir.core.di.FhirProvider
9
import org.dtree.fhir.server.data.JobHistoryRepository
10
import org.dtree.fhir.server.plugins.injection.ModulesInjection
@@ -49,4 +50,7 @@ fun Application.configureFrameworks(dotEnv: Dotenv) {
49
50
})
51
52
}
53
+ install(CORS) {
54
+ anyHost()
55
+ }
56
0 commit comments