Commit 9381d46
Mike Bishop
fix(electron): "::" address causes blank local display
When config.address is set to "::" (listen on all interfaces), the
Electron window tries to load http://:::8080 instead of
http://localhost:8080, resulting in a blank local display.
The remap that converts wildcard bind addresses to "localhost" for the
Electron loadURL call already handled undefined, "", and "0.0.0.0",
but was missing "::". Add it.1 parent fb41d24 commit 9381d46
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments