remove additional path in local url

pull/2591/head
saneery 5 years ago
parent 13058bea30
commit 14f099b5b3
  1. 2
      apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex

@ -44,7 +44,7 @@ defmodule BlockScoutWeb.APIDocsView do
"#{scheme}://#{host}#{path}"
else
port = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:http][:port]
"#{scheme}://#{host}:#{to_string(port)}#{path}"
"#{scheme}://#{host}:#{to_string(port)}"
end
end

Loading…
Cancel
Save