pull/2591/head
saneery 5 years ago
parent aabb006940
commit d167795623
  1. 4
      apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex

@ -40,8 +40,8 @@ defmodule BlockScoutWeb.APIDocsView do
path = url_params[:path]
scheme =
if Keyword.get(opts, :with_scheme, false) do
url_params[:scheme] <> "://"
if Keyword.get(opts, :with_scheme, false) && url_params[:scheme] do
"#{url_params[:scheme]}://"
end
if host != "localhost" do

Loading…
Cancel
Save