Skip to content

Commit 4b28648

Browse files
committed
CORS test
1 parent 921bb56 commit 4b28648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/no/nav/klage/document/config/CorsGlobalConfiguration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CorsGlobalConfiguration {
3636
}
3737

3838
private fun corsConfiguration(): CorsConfiguration {
39-
val config = CorsConfiguration()
39+
val config = CorsConfiguration().applyPermitDefaultValues()
4040
config.allowedOrigins = allowedOrigins
4141
config.addAllowedMethod("*")
4242
config.allowCredentials = true

0 commit comments

Comments
 (0)