Replies: 1 comment 4 replies
-
To be clear are you specifying an endpoint using the argument in server functions intended to do so? What would be some example code? #[server(
name = SomeStructName,
prefix = "/my_api",
endpoint = "my_fn", If you are using the above and it's still generating a hash at the end it's a bug. If you aren't specifying |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I stumbled upon the fact that my registered server functions generate an endpoint which does not reflect the endpoint I declared. For example '/api/ping' turns into '/api/ping/ping1234567890'. Is this from leptos or from the server_fn crate? And if it is by design from leptos why is that so and is there a way to change the generated endpoint url?
Beta Was this translation helpful? Give feedback.
All reactions