After talking to Ben from Leptos and looking over the docs, static routes are not useful in Spin (they're relevant only for stateful environments that can cache pages). They're currently new in Leptos with limited adoption; if they become popular we can revisit how to handle them.
This PR therefore improves the error message, and logs it with a 500 response instead of panicking.
After talking to Ben from Leptos and looking over the docs, static routes are not useful in Spin (they're relevant only for stateful environments that can cache pages). They're currently new in Leptos with limited adoption; if they become popular we can revisit how to handle them.
This PR therefore improves the error message, and logs it with a 500 response instead of panicking.