The frontend generator erroneously included the Electron messaging module instead of the browser messaging module. Consequently, the browser-only environment attempted to establish a WebSocket connection to the backend. This issue has now been resolved.
Fixes #13820
How to test
Build and start the browser-only example without the fix. Observe that the frontend tries to create a Websocket connection to the backend. You can do this by checking the frontend logs and/or server logs.
With the fix the issue is gone.
Follow-ups
Review checklist
[X] As an author, I have thoroughly tested my changes and carefully followed the review guidelines
What it does
The frontend generator erroneously included the Electron messaging module instead of the browser messaging module. Consequently, the browser-only environment attempted to establish a WebSocket connection to the backend. This issue has now been resolved.
Fixes #13820
How to test
Build and start the browser-only example without the fix. Observe that the frontend tries to create a Websocket connection to the backend. You can do this by checking the frontend logs and/or server logs.
With the fix the issue is gone.
Follow-ups
Review checklist
Reminder for reviewers