Skip to content

Commit 5979af8

Browse files
committed
fix: fix edit button. #6
1 parent f0a76da commit 5979af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function createHTML(files: IFileDirStat[] = [], opts: Options, num
8181
return;
8282
}
8383
++num;
84-
const githubURL = `https://github.com/jaywcjlove/reference/blob/main/${path
84+
const githubURL = `${opts.config.github.url || opts.config.github}/blob/main/${path
8585
.relative(process.cwd(), dataFile.path)
8686
.replace(path.sep, '/')}`;
8787

0 commit comments

Comments
 (0)