From f126c82cf3688ea2f180048a2b2dfbb4e5bb27ce Mon Sep 17 00:00:00 2001 From: philc Date: Thu, 26 Feb 2026 13:41:50 +0100 Subject: [PATCH] allow port in cors --- apxtri/apxtri.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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