From 28aaf17d87fcd93d72da3dadc04c7cbd04dd527c Mon Sep 17 00:00:00 2001 From: Pasha8914 Date: Tue, 7 Jun 2022 20:55:37 +1000 Subject: [PATCH] fix: remove comments --- nuxt.config.js | 13 ------------- plugins/detectIPFS.js | 6 +----- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 5ca190c..e32f5ab 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -51,19 +51,6 @@ export default { 'http-equiv': 'Content-Security-Policy', content: '' }, - // move to req middlevare - // { - // 'http-equiv': 'Permissions-Policy', - // content: 'geolocation=()' - // }, - // { - // 'http-equiv': 'Strict-Transport-Security', - // content: 'max-age=31536000;' - // }, - // { - // 'http-equiv': 'X-Content-Type-Options', - // content: 'nosniff' - // }, { name: 'Referer-Policy', content: 'no-referrer' diff --git a/plugins/detectIPFS.js b/plugins/detectIPFS.js index 0308a31..bbd765f 100644 --- a/plugins/detectIPFS.js +++ b/plugins/detectIPFS.js @@ -3,11 +3,7 @@ export default ({ store, isHMR, app }, inject) => { inject('isLoadedFromIPFS', main) } function main() { - const whiteListedDomains = [ - // 'localhost:3000', - 'tornadocash.eth.link', - 'tornadocash.eth.limo' - ] + const whiteListedDomains = ['localhost:3000', 'tornadocash.eth.link', 'tornadocash.eth.limo'] const NETLIFY_REGEXP = /https:\/\/deploy-preview-(\d+)--tornadocash\.netlify\.app/