Rename Example IDs - custom_web_server

This commit is contained in:
Hassan DRAGA 2024-06-18 18:55:54 -04:00
parent 5657f3f481
commit a046af263c

View File

@ -50,9 +50,9 @@ int main() {
// Bind HTML elements with C functions
webui_bind(window, "my_backend_func", my_backend_func);
// Set web server network port WebUI should use
// this mean `webui.js` will be available at:
// http://localhost:8081/webui.js
// Set the web-server/WebSocket port that WebUI should
// use. This means `webui.js` will be available at:
// http://localhost:MY_PORT_NUMBER/webui.js
webui_set_port(window, 8081);
// Show a new window and show our custom web server