changing .get_env to .compile_env for Application config
This commit is contained in:
parent
db98330446
commit
937d0c5505
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ defmodule Home73k do
|
||||||
if it comes from the database, an external API or others.
|
if it comes from the database, an external API or others.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@app_vars Application.get_env(:bones73k, :app_global_vars, time_zone: "America/New_York")
|
@app_vars Application.compile_env(:home73k, :app_global_vars, time_zone: "America/New_York")
|
||||||
@app_time_zone @app_vars[:time_zone]
|
@app_time_zone @app_vars[:time_zone]
|
||||||
|
|
||||||
def app_time_zone, do: @app_time_zone
|
def app_time_zone, do: @app_time_zone
|
||||||
|
|
Loading…
Reference in a new issue