mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Merge pull request #364 from Rafostar/ws-fix
webServer: Listen on all interfaces
This commit is contained in:
@@ -48,7 +48,7 @@ class ClapperWebServer extends Soup.Server
|
|||||||
this.add_websocket_handler('/websocket', null, null, this._onWsConnection.bind(this));
|
this.add_websocket_handler('/websocket', null, null, this._onWsConnection.bind(this));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
isListening = this.listen_local(this.listeningPort, Soup.ServerListenOptions.IPV4_ONLY);
|
isListening = this.listen_all(this.listeningPort, Soup.ServerListenOptions.IPV4_ONLY);
|
||||||
}
|
}
|
||||||
catch(err) {
|
catch(err) {
|
||||||
debug(err);
|
debug(err);
|
||||||
|
Reference in New Issue
Block a user