refactor(index.mjs): change listen ip to 0/32

Make server listen on all network interfaces

Allow external connections by binding to 0.0.0.0 instead of localhost only
This commit is contained in:
TOBB
2025-05-05 23:36:06 +08:00
parent ba2da2f4ed
commit 2ade113c2a

View File

@@ -323,7 +323,7 @@ async function initializeClaudeConfig() {
async function run() { async function run() {
await initializeClaudeConfig(); await initializeClaudeConfig();
app.listen(port, "127.0.0.1", () => { app.listen(port, "0.0.0.0", () => {
console.log(`Example app listening on port ${port}`); console.log(`Example app listening on port ${port}`);
}); });
} }