allow port in cors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user