From 11c4cd73471b2d6c48f6fec09aa1e0422ee4dd40 Mon Sep 17 00:00:00 2001 From: Michal Warda Date: Tue, 5 Mar 2024 16:09:35 +0100 Subject: [PATCH] Add default url to nlm_api_url --- apps/api/config/runtime.exs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/api/config/runtime.exs b/apps/api/config/runtime.exs index 27c3251d7..f1492d8e5 100644 --- a/apps/api/config/runtime.exs +++ b/apps/api/config/runtime.exs @@ -64,7 +64,9 @@ if config_env() == :prod do username: System.get_env("BASIC_AUTH_USERNAME"), password: System.get_env("BASIC_AUTH_PASSWORD") - config :buildel, :nlm_api_url, System.get_env("NLM_API_URL") + config :buildel, + :nlm_api_url, + System.get_env("NLM_API_URL", "https://buildel-nlm-ingestor.fly.dev") config :buildel, :page_url, System.get_env("PAGE_URL")