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] path = url_params[:path]
scheme = scheme =
if Keyword.get(opts, :with_scheme, false) do if Keyword.get(opts, :with_scheme, false) && url_params[:scheme] do
url_params[:scheme] <> "://" "#{url_params[:scheme]}://"
end end
if host != "localhost" do if host != "localhost" do

Loading…
Cancel
Save