From 14f099b5b35b219873751e184d631bcf234c3a73 Mon Sep 17 00:00:00 2001 From: saneery Date: Mon, 19 Aug 2019 17:11:29 +0300 Subject: [PATCH] remove additional path in local url --- apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index 895fad79c2..382a7b26b9 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/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