leptos-rs / start-axum-workspace

The Unlicense
48 stars 15 forks source link

Fix #7 by updating the fileserv error handling and adding a Router fallback #8

Closed Sycrosity closed 11 months ago

Sycrosity commented 1 year ago

This pull request fixes #7 by adding a fallback route to Router in the app/lib.rs file, and removing some server side error handling from server/fileserv.rs to allow the app to deal with it, fixing a csr vs ssr error that was occuring beforehand. cargo fmt & leptosfmt . have also been run.