diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-10-13 16:58:00 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-10-13 17:25:29 +0200 |
commit | 40d60ca6aed6cd624eac1a9bde84f36ffe4c2df9 (patch) | |
tree | edc012816709e1ed4798b4f87fe48722997e3e30 /platform/web | |
parent | 7464f39de8c91d6a41c14f793f8a1c1402d50240 (diff) |
[WebSocket] Fix debugger implementation.
Register module during core initialization so the remote debugger can
properly handle the "wss://" protocol.
Diffstat (limited to 'platform/web')
-rw-r--r-- | platform/web/os_web.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/web/os_web.cpp b/platform/web/os_web.cpp index c263ee094b..07c53e51d0 100644 --- a/platform/web/os_web.cpp +++ b/platform/web/os_web.cpp @@ -37,9 +37,6 @@ #include "platform/web/display_server_web.h" #include "modules/modules_enabled.gen.h" // For websocket. -#ifdef MODULE_WEBSOCKET_ENABLED -#include "modules/websocket/remote_debugger_peer_websocket.h" -#endif #include <dlfcn.h> #include <emscripten.h> @@ -56,11 +53,6 @@ void OS_Web::alert(const String &p_alert, const String &p_title) { void OS_Web::initialize() { OS_Unix::initialize_core(); DisplayServerWeb::register_web_driver(); - -#ifdef MODULE_WEBSOCKET_ENABLED - EngineDebugger::register_uri_handler("ws://", RemoteDebuggerPeerWebSocket::create); - EngineDebugger::register_uri_handler("wss://", RemoteDebuggerPeerWebSocket::create); -#endif } void OS_Web::resume_audio() { |