Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider automatically configuring server_fn's server url using the base_path from Dioxus.toml #2929

Open
david-boles opened this issue Sep 5, 2024 · 0 comments

Comments

@david-boles
Copy link

david-boles commented Sep 5, 2024

Feature Request

At the moment I have to configure it manually:

set_server_url(format!("{}/base_path", get_server_url()).leak());
dioxus_web::launch::launch_cfg(App, dioxus_web::Config::new().hydrate(true));

Not a problem (would be nice if it was documented) but seems like something that could be done automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant