Fakultas Ilmu Komputer UI

Commit b39e613d authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

Use System.get_env instead of application

parent 7d8c2f24
......@@ -13,7 +13,7 @@ defmodule DiskuyWeb.Auth.GoogleAuth do
end
defp handle_get_proxy(url) do
case Application.get_env(:diskuy, :proxy) do
case System.get_env("PROXY") do
nil ->
HTTPoison.get(url)
proxy ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment