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.
1 parent ebffaf9 commit 8b27882Copy full SHA for 8b27882
src/plugin.js
@@ -39,7 +39,7 @@ function getContentURL(config, filePath) {
39
if (config.private) {
40
return urlJoin(
41
location.origin,
42
- config.repo.split('/')[1],
+ /\.github\.io$/.test(config.repo) ? '' : config.repo.split('/')[1],
43
"gitbook/gitbook-plugin-github-issue-feedback/contents",
44
filePath
45
);
0 commit comments