Skip to content

Commit

Permalink
fix rest_hostname raising an exception that REST_URI does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Oct 23, 2024
1 parent a86ba77 commit 5a533f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/urls_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def url_to_endpoint(url)
endpoint
end
def rest_hostname
extract_hostname(REST_URI)
extract_hostname($REST_URL)
end

def extract_hostname(url)
Expand Down

0 comments on commit 5a533f1

Please sign in to comment.