Skip to content
Discussion options

You must be logged in to vote

For the hydration mismatch: I assume this is due to the router. The Router component has a base prop that you should be able to set to subfolder.

For server functions: Have you tried using set_server_url to set the full path of the server? For example if you call set_server_url("http://myhost.com/subfolder") it should call all server functions relative to that path, rather than to /. (If you need to build a String to get it at runtime you can use String::leak() to convert that into &'static str)

I have never used any of these in production so sorry for any inaccuracies. And let me know if you run into trouble using them.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@gbj
Comment options

gbj Sep 19, 2025
Maintainer

@Modularius
Comment options

@Modularius
Comment options

@gbj
Comment options

gbj Sep 22, 2025
Maintainer

@Modularius
Comment options

Answer selected by Modularius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants