fix: detect ipfs
This commit is contained in:
parent
d36b1a9866
commit
756b544dee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue