Skip to content

Commit ac51d90

Browse files
authored
Merge pull request code-corps#297 from code-corps/fix-remote-development-cors
Fix remote-development CORS issues
2 parents 49637ef + 88551c3 commit ac51d90

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

config/remote-development.exs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ config :code_corps, CodeCorps.Repo,
2424
ssl: true
2525

2626
# CORS allowed origins
27-
config :code_corps, allowed_origins: [
28-
"http://pbqrpbecf-qri.org",
29-
"http://www.pbqrpbecf-qri.org",
30-
"https://pbqrpbecf-qri.org",
31-
"https://www.pbqrpbecf-qri.org"
32-
]
27+
config :code_corps, allowed_origins: "*"
3328

3429
config :guardian, Guardian,
3530
secret_key: System.get_env("GUARDIAN_SECRET_KEY")

0 commit comments

Comments
 (0)