Skip to content

Commit 3f097df

Browse files
committed
chore: move assets_url and ingest_url configuration to prod.exs from runtime.exs
1 parent 2f3d542 commit 3f097df

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

config/prod.exs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ config :algora,
2727
dev_routes: true,
2828
require_admin_for_mailbox: true
2929

30+
config :algora, :assets_url, System.get_env("ASSETS_URL")
31+
config :algora, :ingest_url, System.get_env("INGEST_URL")
32+
3033
# Runtime production configuration, including reading
3134
# of environment variables, is done on config/runtime.exs.

config/runtime.exs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,4 @@ if config_env() == :prod do
150150
salt: System.fetch_env!("LOGIN_CODE_SALT")
151151

152152
config :algora, :plausible_url, System.get_env("PLAUSIBLE_URL")
153-
154-
config :algora, :assets_url, System.get_env("ASSETS_URL")
155-
156-
config :algora, :ingest_url, System.get_env("INGEST_URL")
157153
end

0 commit comments

Comments
 (0)