From 756b544dee8f9a1388fa90237a69b11c09f9b4c4 Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Tue, 5 Jul 2022 20:15:45 +1000 Subject: [PATCH] fix: detect ipfs --- plugins/detectIPFS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/detectIPFS.js b/plugins/detectIPFS.js index bbd765f..d8a9b0e 100644 --- a/plugins/detectIPFS.js +++ b/plugins/detectIPFS.js @@ -5,7 +5,7 @@ export default ({ store, isHMR, app }, inject) => { function main() { const whiteListedDomains = ['localhost:3000', 'tornadocash.eth.link', 'tornadocash.eth.limo'] - const NETLIFY_REGEXP = /https:\/\/deploy-preview-(\d+)--tornadocash\.netlify\.app/ + const NETLIFY_REGEXP = /deploy-preview-(\d+)--tornadocash\.netlify\.app/ if (NETLIFY_REGEXP.test(window.location.host)) { return false