I’m trying to setup a websocket between an ESP32-S3 board
My firware has a web server, websocket server and also embeed a web client written in html, css, js.
My web client is here
In the configuration, the client fails to open a connection to the websocket server.
But, when placed inside the html file it workds (as here
Does someone have an idea why ? How can it be solved ?
Thanks in advance for your help,
Fabrice, F4BJH
try to place web client inside a javascript file, but fails to connect.
It works when place the javascript code inside the html
F4BJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.