instead of searching for domain starting at position 0, check if it is included in the url.
This commit is contained in:
parent
7bbbd01fc4
commit
f07e6ef3e8
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ module.exports = function (options, repo, params, id, reportTiles, reportFont) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (url.indexOf(keyDomain) === 0) {
|
||||
if (url.includes(keyDomain) === 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue