What's the standard way to serve static
What's the standard way to serve static assets from a Rust SSR application?
If I have a directory structure like this:
- assets
- favicon.ico
- logo.png
- src
- lib.rs
- Cargo.toml
- wrangler.toml
What I have been doing is using a
[site]
config in my wrangler.toml
file and serving them through KV, but I'm being told (in other peoples' PRs blocked by Cloudflare devs) that Workers Sites is going away and that I should use Cloudflare Pages (which has absolutely no Rust documentation or libraries whatsoever).
What exactly I'm I supposed to do?2 Replies
Here's a direct example:
https://github.com/BrandonDyer64/leptos-workers
GitHub
GitHub - BrandonDyer64/leptos-workers: A template for using Leptos ...
A template for using Leptos ssr + server functions in a Cloudflare worker - BrandonDyer64/leptos-workers
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View