Commit 82376c19 authored by NGPixel's avatar NGPixel

fix: render system link detection resets on each find

parent 1c60d98d
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment