Skip to content

Commit

Permalink
refactor(config): allow wildcard origin for development and Docker Co…
Browse files Browse the repository at this point in the history
…mpose setups (#4231)
  • Loading branch information
prajjwalkumar17 authored Mar 27, 2024
1 parent 9523cf4 commit 6587472
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/development.toml
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ workers = 1

[cors]
max_age = 30
origins = "http://localhost:8080,http://localhost:9000"
# origins = "http://localhost:8080,http://localhost:9000"
allowed_methods = "GET,POST,PUT,DELETE"
wildcard_origin = false
wildcard_origin = true

[email]
sender_email = "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions config/docker_compose.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ max_feed_count = 200

[cors]
max_age = 30
origins = "http://localhost:8080,http://localhost:9000"
# origins = "http://localhost:8080,http://localhost:9000"
allowed_methods = "GET,POST,PUT,DELETE"
wildcard_origin = false
wildcard_origin = true

[refund]
max_attempts = 10
Expand Down

0 comments on commit 6587472

Please sign in to comment.