diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index a5fc237..5142ddf 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -290,7 +290,6 @@ apxtri.runexpress = async (tribesdns, conf) => { } else { cor = regorigin.test(req.headers.origin); } - const cor=regorigin.test(req.headers.origin); if (!cor) console.log( `The domain name ${req.headers.origin} is not allow to access for CORS settings, add it in itm/tribename.json in dns current origin allow are filter by ${regtxt}`