modif cors to allow mobile to access
This commit is contained in:
parent
ff74b2ff15
commit
11f5470a57
@ -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}`
|
||||
|
Loading…
Reference in New Issue
Block a user