We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tide
thanks for amazing work. however, there are errors when runing example tide the src:
... async fn main() -> tide::Result<()> { let mut app = tide::new(); app.at("/styles/*").serve_dir("client/dist/ssr/styles/")?; app.at("/images/*").serve_dir("client/dist/ssr/images/")?; app.at("/scripts/*").serve_dir("client/dist/client/")?; app.at("/*").get(return_html); app.listen("127.0.0.1:8080").await?; Ok(()) } ...
It should be:
... async fn main() -> tide::Result<()> { let mut app = tide::new(); app.at("/styles/").serve_dir("client/dist/ssr/styles/")?; app.at("/images/").serve_dir("client/dist/ssr/images/")?; app.at("/scripts/").serve_dir("client/dist/client/")?; app.at("/").get(return_html); app.listen("127.0.0.1:8080").await?; Ok(()) } ...
The text was updated successfully, but these errors were encountered:
Hey @www159, sorry for the very late reply. I've just release a new crate version. Thanks for the suggestion. Updated.
Sorry, something went wrong.
No branches or pull requests
thanks for amazing work.
however, there are errors when runing example
tide
the src:
It should be:
The text was updated successfully, but these errors were encountered: