allow port in cors
This commit is contained in:
@@ -324,6 +324,7 @@ apxtri.runexpress = async (tribesdns, conf) => {
|
||||
const regorigin = new RegExp(regtxt);
|
||||
const allowedOrigins = [
|
||||
'http://dev.smatchit.io:8081',
|
||||
'https://dev.smatchit.io:8081',
|
||||
];
|
||||
console.log('Allowed origins hardcoded:', allowedOrigins);
|
||||
console.log('CORS regex pattern:', regtxt);
|
||||
|
||||
Reference in New Issue
Block a user