aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources
diff options
context:
space:
mode:
authorAlexander Biehl <alexbiehl@gmail.com>2017-09-01 09:20:34 +0200
committerGitHub <noreply@github.com>2017-09-01 09:20:34 +0200
commitae02a2877adcd32d3f238ebafa526a881fbdea9e (patch)
tree07e31d485fa08ea97b8c48cf62d0c4029abb2ae6 /haddock-api/resources
parentf506a356cec79336d516a4b5b0d1948bbce8c78b (diff)
Use relative URL when no docBaseUrl given
Diffstat (limited to 'haddock-api/resources')
-rw-r--r--haddock-api/resources/html/index.js2
1 files changed, 1 insertions, 1 deletions
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);
}
}