summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-01-28 02:51:34 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-01-28 02:51:34 -0500
commitc01b8b8c90fa762f25bf52437611643e3ca16e5a (patch)
treec93293c5c074a03808cdd4b85cdf6001f2f17dd6 /src/main.rs
parentrusty boio finished (diff)
downloadxssbook-c01b8b8c90fa762f25bf52437611643e3ca16e5a.tar.gz
xssbook-c01b8b8c90fa762f25bf52437611643e3ca16e5a.tar.bz2
xssbook-c01b8b8c90fa762f25bf52437611643e3ca16e5a.zip
fix rerendering logout button, console page
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 64abf68..54c73c1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -25,7 +25,7 @@ async fn log<B>(mut req: Request<B>, next: Next<B>) -> Response where
return next.run(req).await
};
- console::log(&info.ip(), req.method(), req.uri(), None, None).await;
+ console::log(info.ip().clone(), req.method().clone(), req.uri().clone(), None, None).await;
return next.run(req).await
}