Commit 8c9876e
committed
Fix relay URL configuration to require explicit environment variable
- Remove auto-detection fallback for relay WebSocket URL
- Always require REACT_APP_OWN_RELAY_URL to be explicitly set
- Prevent panel from incorrectly connecting to ws://localhost:9002 instead of ws://localhost:9001
- Add clear error message when relay URL environment variable is missing
- Update .env.production with correct relay URL: ws://localhost:90011 parent 1d622bd commit 8c9876e
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
0 commit comments