Fakultas Ilmu Komputer UI

Commit 54dab7a7 authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

Merge branch 'deploy-runtime' into 'master'

Use System.get_env instead of application

See merge request !10
parents 0398ef3b b39e613d
...@@ -13,7 +13,7 @@ defmodule DiskuyWeb.Auth.GoogleAuth do ...@@ -13,7 +13,7 @@ defmodule DiskuyWeb.Auth.GoogleAuth do
end end
defp handle_get_proxy(url) do defp handle_get_proxy(url) do
case Application.get_env(:diskuy, :proxy) do case System.get_env("PROXY") do
nil -> nil ->
HTTPoison.get(url) HTTPoison.get(url)
proxy -> 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