Skip to content

Commit 31aecc6

Browse files
committed
Update link.js
1 parent 041121a commit 31aecc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const html = `
100100
101101
}
102102
103-
if (link && link.startsWith('https:/github.com')) {
103+
if (link && link.includes('https:/github.com')) {
104104
105105
link = link.replace('https:/github.com', 'https://github.com');
106106

0 commit comments

Comments
 (0)