-
-
Notifications
You must be signed in to change notification settings - Fork 727
Closed as not planned
Labels
Description
Is your feature request related to a problem? Please describe
In Development, the web socket connection expects to work with localhost but it fails with 0.0.0.0.
http://0.0.0.0:3000/ |
http://localhost:3000/ |
|---|---|
![]() |
![]() |
Describe the solution you'd like
Maybe the module could work easily with other hosts. TBH, I didn't try custom local domains with Nuxt content. I tried to map 0.0.0.0 to localhost in my /etc/hosts file, but it also fails. I guess, it just tries to connect with localhost and it cannot be changed...
Describe alternatives you've considered
- Maybe if the connection errors, we could show a more helpful error message in the browser console too.
- The module could expose the host as an option to configure, and it should be documented
Additional context
It seems like wsUrl is an option in the module, but I couldn’t find it in the docs or if it's configurable.

