From 506201dd732af9884ff2f12cdd49eba532419ad5 Mon Sep 17 00:00:00 2001 From: philc Date: Thu, 26 Feb 2026 14:55:24 +0100 Subject: [PATCH] allow port in cors --- apxtri/apxtri.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index 8d76a94..8ec72fd 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -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);