fix: render system link detection resets on each find

This commit is contained in:
NGPixel 2020-01-02 13:33:27 -05:00
parent 1c60d98d17
commit 82376c19b9

View File

@ -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) {