fix: detect ipfs

This commit is contained in:
Danil Kovtonyuk 2022-07-05 20:15:45 +10:00
parent d36b1a9866
commit 756b544dee
No known key found for this signature in database
GPG Key ID: E72A919BF08C3746

View File

@ -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