Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mohammad Dwikurnia Apriadi
Diskuy-Backend
Commits
b39e613d
Commit
b39e613d
authored
Feb 22, 2021
by
Muhammad Rafif Elfazri
Browse files
Use System.get_env instead of application
parent
7d8c2f24
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/diskuy_web/auth/google_auth.ex
View file @
b39e613d
...
...
@@ -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
->
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment