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 {
}
isExternalUrl (url) {
const handlers = this.handlers()
return handlers.some(handler => handler.match.exec(url))
const handlers = this.urlResolver.getHandlers()
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