Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit ae02a28

Browse files
authored
Use relative URL when no docBaseUrl given
1 parent f506a35 commit ae02a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haddock-api/resources/html/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ var NoResultsMsg = function(props) {
385385

386386
return {
387387
init: function(docBaseUrl) {
388-
baseUrl = docBaseUrl || "";
388+
baseUrl = docBaseUrl || ".";
389389
preact.render(h(App), document.body);
390390
}
391391
}

0 commit comments

Comments
 (0)