Skip to content

Commit 80d3aa7

Browse files
committed
fix editURL
1 parent cc595cb commit 80d3aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ window.require(["gitbook"], function(gitbook) {
5555
var pathname = path.join(gitbook.state.config.root, gitbook.state.filepath);
5656
var apiURL = getAPIURL(config, pathname);
5757
var resourceURL = getResourceURL(config, pathname, "master");
58-
var editURL = getEditURL(config, gitbook.state.filepath, "master");
58+
var editURL = getEditURL(config, pathname, "master");
5959
var chapterTitle = gitbook.state.chapterTitle;
6060
getContentAsync(apiURL).then(function(markdown) {
6161
var bug = new BugReporter(getIssueURL(config));

0 commit comments

Comments
 (0)