mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-08-26 06:21:58 +00:00
replace format with push
This commit is contained in:
parent
de775e94a1
commit
01a2021fa2
@ -42,7 +42,8 @@ impl Nex {
|
||||
let path = uri.path(); // copy once
|
||||
|
||||
if path.is_empty() {
|
||||
let r = format!("{uri}/"); // auto-append trailing slash to the root locations
|
||||
let mut r = uri.to_string();
|
||||
r.push('/'); // auto-append trailing slash to the root locations
|
||||
self.page.navigation.request.info.replace(
|
||||
self.page
|
||||
.navigation
|
||||
|
Loading…
x
Reference in New Issue
Block a user