allow port in cors

This commit is contained in:
2026-02-26 14:55:24 +01:00
parent b492bea12f
commit 506201dd73

View File

@@ -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);