mirror of
https://github.com/webui-dev/webui.git
synced 2024-09-11 14:06:09 +03:00
Rename Example IDs - custom_web_server
This commit is contained in:
parent
5657f3f481
commit
a046af263c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user