diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index 5706a4a..23b510e 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -317,7 +317,7 @@ apxtri.runexpress = async (tribesdns, conf) => { // Cors management let regtxt = "(test"; doms.forEach((d) => { - regtxt += `|${d.replace(/\./g, "\\.")}`; + regtxt += `|${d.replace(/\./g, "\\.")}(:[0-9]+)?`; }); regtxt += ")$"; // let cor = false;whatwg-url