hello guys
when i am running my project at my local machine(:dev)
.
i want that my config/dev.exs
db_config = [password: “1234”]
is not get override by config/runtime.exs
db_config = [password: “”]
is it possible if yes then how??
please help me.
Configs applied in runtime.exs
will always overwrite configs applied in config.exs
+ configs imported in it. To not overwrite configs set in dev.exs
you can however make runtime.exs
not set a config for that key, when in config_env() == :dev
.
1 Like