This commit is contained in:
anlicheng 2024-08-30 16:08:43 +08:00
parent b5d805603c
commit c067876aba

View File

@ -46,7 +46,7 @@ get_value(Key, Default) when is_atom(Key) ->
Val
end.
-spec load_env() -> [binary()].
-spec load_env() -> list().
load_env() ->
Dir = code:priv_dir(iot),
EnvFile = Dir ++ "/env.config",