Use pipeline

pull/2591/head
saneery 5 years ago
parent 37da2eaa6e
commit a86b95cbe6
  1. 8
      apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex

@ -49,12 +49,12 @@ defmodule BlockScoutWeb.APIDocsView do
end
def api_url do
base_url = blockscout_url()
Path.join(base_url, "api")
blockscout_url()
|> Path.join("api")
end
def eth_rpc_api_url do
base_url = blockscout_url()
Path.join(base_url, "api/eth_rpc")
blockscout_url()
|> Path.join("api/eth_rpc")
end
end

Loading…
Cancel
Save