diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2023-01-29 00:35:06 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2023-01-29 00:35:06 -0500 |
commit | 7805c730e8ead9cd421f45d4720fd7f4062675e6 (patch) | |
tree | a46ec6de28c688f7961e6327e075925a8f50071c /src/console.rs | |
parent | reverse proxy ip checking (diff) | |
download | xssbook-7805c730e8ead9cd421f45d4720fd7f4062675e6.tar.gz xssbook-7805c730e8ead9cd421f45d4720fd7f4062675e6.tar.bz2 xssbook-7805c730e8ead9cd421f45d4720fd7f4062675e6.zip |
no mass rerendering html plus logging fix
Diffstat (limited to 'src/console.rs')
-rw-r--r-- | src/console.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/console.rs b/src/console.rs index 14324fa..eb78c6a 100644 --- a/src/console.rs +++ b/src/console.rs @@ -45,10 +45,7 @@ lazy_static! { } pub async fn log(ip: IpAddr, method: Method, uri: Uri, path: Option<String>, body: Option<String>) { - if uri.to_string().starts_with("/console") { - return; - } - + let path = path.unwrap_or_default(); let body = body.unwrap_or_default(); |