diff --git a/src/main.js b/src/main.js index 71f8a554..29c7e4e0 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,6 @@ imports.gi.versions.Gdk = '4.0'; imports.gi.versions.Gtk = '4.0'; -imports.gi.versions.Soup = '2.4'; +imports.gi.versions.Soup = '3.0'; pkg.initGettext(); pkg.initFormat(); diff --git a/src/webServer.js b/src/webServer.js index 0cf3253c..2098dda7 100644 --- a/src/webServer.js +++ b/src/webServer.js @@ -107,7 +107,7 @@ class ClapperWebServer extends Soup.Server this.remove_handler('/'); } - _onWsConnection(server, connection) + _onWsConnection(server, msg, path, connection) { debug('new WebSocket connection');