Apparently I’m going crazy or something, but when I tried adding in the
IP env var a.k.a.
0.0.0.0 again it fixed the message so that I’m now getting the normal one with the browser URL. The only reason I was leaving out the listen IP in the first place is because it wasn’t making a difference before, I have no idea what changed… or maybe my memory is simply failing me.
Anyway just to give some extra info: if I don’t explicitly specify it, apparently the listen IP defaults to the “unspecified” IPv6 address of
::, which as far as I can tell is like the IPv6 equivalent of
0.0.0.0 (listening on all addresses). Maybe you could expand your check to include this address too? It seems to work just as well, though I don’t know much about these things.
It would be nice to have a non-manual way of dismissing/disabling the popup messages regardless, sometimes they cover text which is pretty annoying, and even if there’s a long running monitor process (like
nodemon) that automatically restarts the server, the message will pop up on each restart.
Sorry if my original query wasted your time.