diff --git a/fly-dev.toml b/fly-dev.toml index 6329d6d..8944e60 100644 --- a/fly-dev.toml +++ b/fly-dev.toml @@ -15,7 +15,7 @@ kill_signal = "SIGTERM" DATABASE_PATH = "/app/swapi.db" PHX_HOST = "swapi-dev.profiq.com" PORT = "8080" - CHECK_ORIGIN = '["swapi-dev.profiq.com", "swapi-elixir-dev.fly.dev"]' + CHECK_ORIGIN = '["//swapi-dev.profiq.com", "//swapi-elixir-dev.fly.dev"]' [http_service] internal_port = 8080 diff --git a/fly.toml b/fly.toml index 9d4f776..8e11183 100644 --- a/fly.toml +++ b/fly.toml @@ -15,7 +15,7 @@ kill_signal = "SIGTERM" DATABASE_PATH = "/app/swapi.db" PHX_HOST = "swapi.profiq.com" PORT = "8080" - CHECK_ORIGIN = '["swapi.profiq.com", "swapi-elixir.fly.dev"]' + CHECK_ORIGIN = '["//swapi.profiq.com", "//swapi-elixir.fly.dev"]' [http_service] internal_port = 8080