Skip to content

Commit

Permalink
Replaced pekko-http-cors with pekko.http.cors to fix cors issue with …
Browse files Browse the repository at this point in the history
…config server
  • Loading branch information
abrighton committed Aug 24, 2023
1 parent b9296d4 commit 8413578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ csw-config-server {

}

pekko-http-cors {
pekko.http.cors {
# List of methods that can be used when making an actual request. The list is
# returned as part of the `Access-Control-Allow-Methods` preflight response header.
#
Expand Down
2 changes: 1 addition & 1 deletion examples/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ auth-config {
}
// #auth-config

pekko-http-cors {
pekko.http.cors {
allowed-origins = "*"
allowed-methods = ["DELETE", "POST", "PUT", "GET", "PATCH", "HEAD"]
allowed-headers = "Authorization"
Expand Down

0 comments on commit 8413578

Please sign in to comment.