Initial commit - Route Commerce platform

This commit is contained in:
2026-06-01 19:40:55 +00:00
commit 53a9671461
617 changed files with 106132 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// Patch global HTTP/HTTPS agents to use the correct outbound interface
// Fixes EADDRNOTAVAIL on macOS when Node.js can't find the right source address
const http = require('http');
const https = require('https');
http.globalAgent.options.localAddress = '192.168.50.71';
http.globalAgent.options.keepAlive = false;
https.globalAgent.options.localAddress = '192.168.50.71';
https.globalAgent.options.keepAlive = false;
console.log('Patched global agents: localAddress=192.168.50.71');