Actually Do It

This commit is contained in:
benwis 2023-01-17 09:27:09 -08:00
parent 70d92c7f42
commit 300cc4f54c
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ where
// Need to get the path and query string of the Request
// For reasons that escape me, if the incoming URI protocol is https, it provides the absolute URI
// if http, it returns a relative path. Adding .path() seems to make it explicitly return the relative uri
let path = req.uri().path_and_query();
let path = req.uri().path_and_query().unwrap().as_str();
let full_path = format!("http://leptos.dev{path}");