fix: remove comments

This commit is contained in:
Pasha8914 2022-06-07 20:55:37 +10:00
parent b91b81f5c9
commit 28aaf17d87
2 changed files with 1 additions and 18 deletions

View File

@ -51,19 +51,6 @@ export default {
'http-equiv': 'Content-Security-Policy', 'http-equiv': 'Content-Security-Policy',
content: '' 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', name: 'Referer-Policy',
content: 'no-referrer' content: 'no-referrer'

View File

@ -3,11 +3,7 @@ export default ({ store, isHMR, app }, inject) => {
inject('isLoadedFromIPFS', main) inject('isLoadedFromIPFS', main)
} }
function main() { function main() {
const whiteListedDomains = [ const whiteListedDomains = ['localhost:3000', 'tornadocash.eth.link', 'tornadocash.eth.limo']
// 'localhost:3000',
'tornadocash.eth.link',
'tornadocash.eth.limo'
]
const NETLIFY_REGEXP = /https:\/\/deploy-preview-(\d+)--tornadocash\.netlify\.app/ const NETLIFY_REGEXP = /https:\/\/deploy-preview-(\d+)--tornadocash\.netlify\.app/