mirror of
https://github.com/plausible/analytics.git
synced 2024-12-26 19:15:03 +03:00
4242b52be4
* allow importing extra config * changelog * fix typo * add test
9 lines
227 B
Elixir
9 lines
227 B
Elixir
import Config
|
|
import Plausible.ConfigHelpers
|
|
|
|
config_dir = System.get_env("CONFIG_DIR", "/run/secrets")
|
|
|
|
if extra_config_path = get_var_from_path_or_env(config_dir, "EXTRA_CONFIG_PATH") do
|
|
import_config extra_config_path
|
|
end
|