fix: render system link detection resets on each find
This commit is contained in:
parent
1c60d98d17
commit
82376c19b9
@ -28,8 +28,8 @@ module.exports = {
|
|||||||
// --------------------------------
|
// --------------------------------
|
||||||
|
|
||||||
let internalRefs = []
|
let internalRefs = []
|
||||||
const reservedPrefixes = /^\/[a-z]\//gi
|
const reservedPrefixes = /^\/[a-z]\//i
|
||||||
const exactReservedPaths = /^\/[a-z]$/gi
|
const exactReservedPaths = /^\/[a-z]$/i
|
||||||
|
|
||||||
const isHostSet = WIKI.config.host.length > 7 && WIKI.config.host !== 'http://'
|
const isHostSet = WIKI.config.host.length > 7 && WIKI.config.host !== 'http://'
|
||||||
if (!isHostSet) {
|
if (!isHostSet) {
|
||||||
|
Loading…
Reference in New Issue
Block a user