1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

[#] base_url on synth.rb (#1490)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Evlos 2024-11-25 23:17:00 +08:00 committed by GitHub
parent de9ffa7ca0
commit 570a0c7ff6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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