lenra-io / devtool

GNU Affero General Public License v3.0
5 stars 1 forks source link

[Bug]: Impossible to dev on Lenra using GitHub Codespace #172

Open shiipou opened 1 year ago

shiipou commented 1 year ago

What happened?

@hrafven tried to launch lenra dev on a GitHub codespace but it can't connect to localhost:4000

What browsers are you seeing the problem on?

No response

Version

lenra_cli@1.0.0-beta.16

Relevant log output

(index):60 Installed new service worker.
main.dart.js:22293 Flutter Web Bootstrap: Auto
main.dart.js:8394 WebSocket connection to 'ws://localhost:4000/socket/websocket?userId=1&app=00000000-0000-0000-0000-000000000000&vsn=2.0.0' failed: 
aED @ main.dart.js:8394
shiipou commented 1 year ago

If we open the browser on localhost:4000 instead of 127.0.0.1 it work. We probably need to listen the browser URL as backend URL.