fix relative URL permalink (#2649)

This commit is contained in:
Saturnino Abril 2019-03-15 23:29:20 +08:00 committed by GitHub
parent 2f7a12bc16
commit aa80adfacc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ export function getScheme(url) {
}
export function matchPermalink(link, rootURL) {
if (!link || !rootURL) {
if (!link) {
return null;
}