mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
replace format with push
This commit is contained in:
parent
de775e94a1
commit
01a2021fa2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue