fix: render system link detection resets on each find

pull/1365/head
NGPixel 5 years ago
parent 1c60d98d17
commit 82376c19b9

@ -28,8 +28,8 @@ module.exports = {
// --------------------------------
let internalRefs = []
const reservedPrefixes = /^\/[a-z]\//gi
const exactReservedPaths = /^\/[a-z]$/gi
const reservedPrefixes = /^\/[a-z]\//i
const exactReservedPaths = /^\/[a-z]$/i
const isHostSet = WIKI.config.host.length > 7 && WIKI.config.host !== 'http://'
if (!isHostSet) {

Loading…
Cancel
Save