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

Get server address from cli in fullstack-auth example. #3494

Merged

Conversation

charles-r-earp
Copy link
Contributor

@charles-r-earp charles-r-earp commented Jan 4, 2025

Fixes #3363.

The example is served to a hardcoded port 3000, while the cli expects to connect to 8080 by default. Using dioxus_cli_config::fullstack_address_or_localhost, the proper address can be used by the server. This is consistent with the documentation for dioxus-fullstack.

Note that because of the issue fixed in #3359, what works is dx serve --client-features dioxus-web/mounted --open, where the mounted feature enables the web-sys feature DomRect, which enables DomRectReadOnly.

Copy link
Member

@jkelleyrtp jkelleyrtp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jkelleyrtp jkelleyrtp merged commit b348a72 into DioxusLabs:main Jan 7, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

When using the Axum authentication example, the devserver proxy does not work
2 participants