From bd1c70fdfddca9ba9f3b8a1fbb633d079d139dad Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 5 Jan 2021 17:08:12 +0100 Subject: [PATCH] fix handlers reference --- apps/remix-ide/src/app/compiler/compiler-imports.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/compiler/compiler-imports.js b/apps/remix-ide/src/app/compiler/compiler-imports.js index 4db80049fc..39ab3e9f7a 100644 --- a/apps/remix-ide/src/app/compiler/compiler-imports.js +++ b/apps/remix-ide/src/app/compiler/compiler-imports.js @@ -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)) } /**