[#] base_url on synth.rb (#1490)

This commit was merged in pull request #1490.
This commit is contained in:
Evlos
2024-11-25 23:17:00 +08:00
committed by GitHub
parent de9ffa7ca0
commit 570a0c7ff6

View File

@@ -174,7 +174,7 @@ class Provider::Synth
SecurityInfoResponse = Struct.new :info, :success?, :error, :raw_response, keyword_init: true
def base_url
"https://api.synthfinance.com"
ENV["SYNTH_URL"] || "https://api.synthfinance.com"
end
def app_name