From 6613812263c033b6a7a33a5ea37fad5a172c9837 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 11 Oct 2024 13:29:02 +0200 Subject: upgrading dependencies --- src/main.rs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index ab5a1d4..54e82d7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,7 +45,16 @@ fn main() { // Get some variable from the current request let scheme:&str = req.var("REQUEST_SCHEME").unwrap_or("https"); let server_name:&str = req.var("SERVER_NAME").unwrap_or("example.com"); - let docuri:&str = req.var("DOCUMENT_URI").unwrap_or(""); + let docuri:&str = req.var("DOCUMENT_URI").unwrap_or("no docuri"); + + // println!("Debug:"); + // println!("dburl: {}", dburl); + // println!("create_uri: {}", create_uri); + // println!("form_uri: {}", form_uri); + // println!("short_uri_prefix: {}", short_uri_prefix); + // println!("scheme: {}", scheme); + // println!("server_name: {}", server_name); + // println!("docuri: {}", docuri); // -- cgit v1.2.3