forked from mirrors/nixpkgs
22 lines
656 B
Diff
22 lines
656 B
Diff
|
diff --git a/config/runtime.exs b/config/runtime.exs
|
||
|
index 7c9cc14..8facd05 100644
|
||
|
--- a/config/runtime.exs
|
||
|
+++ b/config/runtime.exs
|
||
|
@@ -15,9 +15,7 @@ end
|
||
|
base_url = URI.parse(base_url)
|
||
|
|
||
|
if base_url.scheme not in ["http", "https"] do
|
||
|
- raise "BASE_URL must start with `http` or `https`. Currently configured as `#{
|
||
|
- System.get_env("BASE_URL")
|
||
|
- }`"
|
||
|
+ raise "BASE_URL must start with `http` or `https`. Currently configured as `#{System.get_env("BASE_URL")}`"
|
||
|
end
|
||
|
|
||
|
secret_key_base =
|
||
|
@@ -300,3 +298,5 @@ if appsignal_api_key do
|
||
|
env: env,
|
||
|
active: true
|
||
|
end
|
||
|
+
|
||
|
+config :tzdata, :data_dir, System.get_env("TZDATA_DIR", "priv")
|