mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-26 18:35:05 +00:00
Merge branch 'steward/install-20261011' of /Users/hira/Documents/ECC/ecc-review-install-20261011 into integration/ecc-043-20261011
# Conflicts: # manifests/context-packs/skill-triggers@1.json
This commit is contained in:
3 files changed
+43
-1
No files matched your search
@@ -30,6 +30,9 @@ function portFromEnv(name, fallback) {
|
||||
|
||||
const listenPort = portFromEnv('ECC_RELAY_LISTEN', 1456);
|
||||
const targetPort = portFromEnv('ECC_RELAY_TARGET', 1455);
|
||||
if (listenPort === targetPort) {
|
||||
throw new Error('ECC_RELAY_LISTEN and ECC_RELAY_TARGET must differ');
|
||||
}
|
||||
|
||||
net.createServer(client => {
|
||||
const upstream = net.connect(targetPort, '127.0.0.1');
|
||||
|
||||
Reference in new issue
Block a user