We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
crate::
1 parent 72ac9af commit 8b9c393Copy full SHA for 8b9c393
src/main.rs
@@ -79,10 +79,10 @@ async fn main() {
79
bust_dir: bust_dir.into(),
80
};
81
82
- let cache_none = axum::middleware::from_fn(crate::cache_none);
83
- let cache_medium = axum::middleware::from_fn(crate::cache_medium);
84
- let cache_max = axum::middleware::from_fn(crate::cache_max);
85
- let noindex = axum::middleware::from_fn(crate::noindex);
+ let cache_none = axum::middleware::from_fn(cache_none);
+ let cache_medium = axum::middleware::from_fn(cache_medium);
+ let cache_max = axum::middleware::from_fn(cache_max);
+ let noindex = axum::middleware::from_fn(noindex);
86
87
let serve_dir_raw = ServeDir::new(&asset_dir)
88
.append_index_html_on_directories(true)
0 commit comments