From ae02a2877adcd32d3f238ebafa526a881fbdea9e Mon Sep 17 00:00:00 2001 From: Alexander Biehl Date: Fri, 1 Sep 2017 09:20:34 +0200 Subject: Use relative URL when no docBaseUrl given --- haddock-api/resources/html/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haddock-api/resources') diff --git a/haddock-api/resources/html/index.js b/haddock-api/resources/html/index.js index fccd0349..f213b9ab 100644 --- a/haddock-api/resources/html/index.js +++ b/haddock-api/resources/html/index.js @@ -385,7 +385,7 @@ var NoResultsMsg = function(props) { return { init: function(docBaseUrl) { - baseUrl = docBaseUrl || ""; + baseUrl = docBaseUrl || "."; preact.render(h(App), document.body); } } -- cgit v1.2.3