diff --git a/src/serve_style.js b/src/serve_style.js index 2683669..bef3cc4 100644 --- a/src/serve_style.js +++ b/src/serve_style.js @@ -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; } }