You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm totally new to Dioxus and am playing around with dx new. I noticed when I choose the fullstack option and launch my desktop app with dx serve --platform desktop, the echo server function doesn't work. I get the error
16:37:40 [linux] thread 'main' panicked at src/components/echo.rs:18:65:
16:37:40 [linux] called `Result::unwrap()` on an `Err` value: Request("error sending request for url (http://127.0.0.1:43405/api/echo_server9820224038553403100)")
followed by a long stack trace. dx says "ServerFns at: http://127.0.0.1:8080". Is this a problem with the port?
When I run dx run --platform desktop, the echo demo works fine. But now I miss hot reloading, of course.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm totally new to Dioxus and am playing around with
dx new
. I noticed when I choose the fullstack option and launch my desktop app withdx serve --platform desktop
, the echo server function doesn't work. I get the errorfollowed by a long stack trace. dx says "ServerFns at: http://127.0.0.1:8080". Is this a problem with the port?
When I run
dx run --platform desktop
, the echo demo works fine. But now I miss hot reloading, of course.Steps to reproduce:
dx new some_app
, choose fullstackdx serve --platform desktop
Beta Was this translation helpful? Give feedback.
All reactions