fix relative URL permalink (#2649)
This commit is contained in:
parent
2f7a12bc16
commit
aa80adfacc
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ export function getScheme(url) {
|
|||
}
|
||||
|
||||
export function matchPermalink(link, rootURL) {
|
||||
if (!link || !rootURL) {
|
||||
if (!link) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue