toniebox-reverse-engineering / teddycloud

teddyCloud is an open source server replacement for the Boxine Cloud
https://toniebox-reverse-engineering.github.io/docs/tools/teddycloud/
GNU General Public License v2.0
483 stars 36 forks source link

Change GUI to http prevents WebSerial usage #158

Closed henryk86 closed 6 months ago

henryk86 commented 7 months ago

The change to expose the frontend only to http (by default, but https can be enabled) prevents the direct use of the webserial feature to read, patch and write firmware to esp32.

image

Maybe this must be separated from the frontend and moved to a kind of api where the backend does the action and frontend just requests that from the backend. But I am not aware how it works currently.

SciLor commented 7 months ago

We are working on authentication for the frontend. It may make sense to add a short notice to the flashing section to temporarily enable https access and add a general warning if the https port is exposed.

henryk86 commented 7 months ago

Is it necessary to have the webserial in the frontend? If I am wrong if I think if the whole webserial stuff is moved to backend and then it is still possible to do so even if the frontend is only http?

SciLor commented 6 months ago

It is possible to enable it when needed