remove header value update as the nex is header-less protocol

This commit is contained in:
yggverse 2025-06-27 07:40:33 +03:00
parent 53348d12b6
commit da533d8826

View File

@ -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);
}