Commit 687eb04
Auto-detect primary IP for webapp BASE_URL
socket.gethostname() returns "mcnode15" which resolves to 127.0.1.1
on the host itself and is not in every user's /etc/hosts. Replace
with a get_primary_ip() helper that asks the kernel which interface
routes outbound traffic — works on any machine without config.
Also bump webpage submodule: mcnode15 → 172.18.0.26 in static links.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b67177a commit 687eb04
4 files changed
+26
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3067 | 3067 | | |
3068 | 3068 | | |
3069 | 3069 | | |
3070 | | - | |
| 3070 | + | |
| 3071 | + | |
3071 | 3072 | | |
3072 | 3073 | | |
3073 | 3074 | | |
| |||
3111 | 3112 | | |
3112 | 3113 | | |
3113 | 3114 | | |
3114 | | - | |
3115 | 3115 | | |
3116 | 3116 | | |
3117 | 3117 | | |
3118 | 3118 | | |
3119 | 3119 | | |
3120 | 3120 | | |
3121 | 3121 | | |
3122 | | - | |
| 3122 | + | |
3123 | 3123 | | |
3124 | 3124 | | |
3125 | 3125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
0 commit comments