diff options
| author | Fuwn <[email protected]> | 2023-05-17 02:28:39 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-17 02:28:39 -0700 |
| commit | c90efc39fb626f378c7b0d9f6e45c801041124dd (patch) | |
| tree | 71dd0a5e518624c42a777fda32210cd65ebe437b /src/response.rs | |
| parent | fix(route): fill for root path (diff) | |
| download | locus-c90efc39fb626f378c7b0d9f6e45c801041124dd.tar.xz locus-c90efc39fb626f378c7b0d9f6e45c801041124dd.zip | |
feat(router): global cache pre-route
Diffstat (limited to 'src/response.rs')
| -rw-r--r-- | src/response.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/response.rs b/src/response.rs index b368ba1..ac33adf 100644 --- a/src/response.rs +++ b/src/response.rs @@ -37,8 +37,6 @@ pub fn success( body: &impl ToString, context: &windmark::context::RouteContext, ) -> Response { - crate::route::cache(context, &body.to_string()); - Response::success( Main { body: &body.to_string(), |