Commit e84d3760 authored by yann300's avatar yann300 Committed by Aniket

fix handlers reference

parent d140fb0f
...@@ -31,8 +31,8 @@ module.exports = class CompilerImports extends Plugin { ...@@ -31,8 +31,8 @@ module.exports = class CompilerImports extends Plugin {
} }
isExternalUrl (url) { isExternalUrl (url) {
const handlers = this.handlers() const handlers = this.urlResolver.getHandlers()
return handlers.some(handler => handler.match.exec(url)) return handlers.some(handler => handler.match(url))
} }
/** /**
......
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