This PR(#240 ) removes the NEXT_PUBLIC_ prefix for NEXT_PUBLIC_SERVER_BASE_URL, making such variable invisible for frontend TS codes.
As a result, ws connections always fallback to the default 127.0.0.1:8001 address.
Reproduce setting
Set SERVER_BASE_URL to anything but localhost:8001.
Then all ws connections would still go for localhost:8001, while http connections are forwarded to SERVER_BASE_URL as expected.