Skip to content

Commit ca9a0b7

Browse files
committed
Add protocol prefix to check_origin
1 parent 4ebfba4 commit ca9a0b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

fly-dev.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kill_signal = "SIGTERM"
1515
DATABASE_PATH = "/app/swapi.db"
1616
PHX_HOST = "swapi-dev.profiq.com"
1717
PORT = "8080"
18-
CHECK_ORIGIN = '["swapi-dev.profiq.com", "swapi-elixir-dev.fly.dev"]'
18+
CHECK_ORIGIN = '["//swapi-dev.profiq.com", "//swapi-elixir-dev.fly.dev"]'
1919

2020
[http_service]
2121
internal_port = 8080

fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kill_signal = "SIGTERM"
1515
DATABASE_PATH = "/app/swapi.db"
1616
PHX_HOST = "swapi.profiq.com"
1717
PORT = "8080"
18-
CHECK_ORIGIN = '["swapi.profiq.com", "swapi-elixir.fly.dev"]'
18+
CHECK_ORIGIN = '["//swapi.profiq.com", "//swapi-elixir.fly.dev"]'
1919

2020
[http_service]
2121
internal_port = 8080

0 commit comments

Comments
 (0)