astra
astra copied to clipboard
Serving static HTML etc files
Hi! How can I use astra to serve an HTML file? Thank you!
For example, how can I serve the rust docs using Astra? Thank you!
Sorry for the late reply, this issue slipped from my notifications.
You can use Body::wrap_reader to stream an HTML file response.