We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a4e69f + 8b27882 commit 9e4d715Copy full SHA for 9e4d715
src/plugin.js
@@ -39,6 +39,7 @@ function getContentURL(config, filePath) {
39
if (config.private) {
40
return urlJoin(
41
location.origin,
42
+ /\.github\.io$/.test(config.repo) ? '' : config.repo.split('/')[1],
43
"gitbook/gitbook-plugin-github-issue-feedback/contents",
44
filePath
45
);
@@ -95,4 +96,4 @@ window.require(["gitbook"], function(gitbook) {
95
96
document.body.appendChild(reportElement);
97
});
98
-});
99
+});
0 commit comments