client.rs 318 B

12345678910111213
  1. // Run with:
  2. // ```bash
  3. // cargo run --bin client --features="desktop"
  4. // ```
  5. use axum_desktop::*;
  6. use dioxus_fullstack::prelude::server_fn::set_server_url;
  7. fn main() {
  8. // Set the url of the server where server functions are hosted.
  9. set_server_url("http://localhost:8080");
  10. dioxus_desktop::launch(app)
  11. }