mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-08-31 17:02:08 +00:00
remove header value update as the nex is header-less protocol
This commit is contained in:
parent
53348d12b6
commit
da533d8826
@ -43,15 +43,14 @@ impl Nex {
|
||||
|
||||
if path.is_empty() {
|
||||
let r = format!("{uri}/"); // auto-append trailing slash to the root locations
|
||||
{
|
||||
let mut i = self.page.navigation.request.info.take();
|
||||
i.set_header(Some(r.clone()));
|
||||
self.page.navigation.request.info.replace(
|
||||
self.page
|
||||
.navigation
|
||||
.request
|
||||
.info
|
||||
.replace(i.into_permanent_redirect());
|
||||
}
|
||||
.take()
|
||||
.into_permanent_redirect(),
|
||||
);
|
||||
self.page.navigation.set_request(&r);
|
||||
self.page.item_action.load.activate(Some(&r), false, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user