aboutsummaryrefslogtreecommitdiff
path: root/src/response.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-17 02:28:39 -0700
committerFuwn <[email protected]>2023-05-17 02:28:39 -0700
commitc90efc39fb626f378c7b0d9f6e45c801041124dd (patch)
tree71dd0a5e518624c42a777fda32210cd65ebe437b /src/response.rs
parentfix(route): fill for root path (diff)
downloadlocus-c90efc39fb626f378c7b0d9f6e45c801041124dd.tar.xz
locus-c90efc39fb626f378c7b0d9f6e45c801041124dd.zip
feat(router): global cache pre-route
Diffstat (limited to 'src/response.rs')
-rw-r--r--src/response.rs2
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(),