mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
Move config files to config directory
This commit is contained in:
parent
3fe8bd6681
commit
7e229140ed
@ -2,7 +2,7 @@ import Config
|
||||
import Plausible.ConfigHelpers
|
||||
|
||||
if config_env() in [:dev, :test] do
|
||||
Envy.auto_load()
|
||||
Envy.load(["config/.env.#{config_env()}"])
|
||||
end
|
||||
|
||||
config_dir = System.get_env("CONFIG_DIR", "/run/secrets")
|
||||
|
Loading…
Reference in New Issue
Block a user