Commit 94810f1
committed
fix: use selectedHost for localHttpUrl/localWsUrl when binding specific interface
When a specific non-loopback host is selected in network-accessible mode,
the server binds only to that interface. The local URLs must use the same
host instead of hardcoded 127.0.0.1, otherwise the desktop app cannot
reach the backend (connection refused on loopback).1 parent d86ab49 commit 94810f1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments