Skip to content

Commit

Permalink
Added production domain as allowed origin
Browse files Browse the repository at this point in the history
  • Loading branch information
2martens committed Aug 16, 2023
1 parent b7c85e2 commit e50e769
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ open class WebConfiguration(private val headerInterceptorRest: HeaderInterceptor
HttpMethod.PUT.name(), HttpMethod.OPTIONS.name()
)
registration.allowCredentials(true)
registration.allowedOrigins("http://localhost:4200")
registration.allowedOrigins(
"http://localhost:4200",
"https://wahlrecht.2martens.de"
)
}
}

0 comments on commit e50e769

Please sign in to comment.