╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │1046 // cross-page link or tab change crossing pages) │ │1047 if (session.next_page) |route| { │ │1048 session.next_page = null; │ │1018 - if (session.haxy_moment == null) return; │ │1049 + if (session.haxy_moment == null and session.local == null) return;│ │1050 // the page we navigated to becomes the current page │ │1051 session.data.current_page = route; │ │1052 │ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1729 │ │1730 _ = self.arena.reset(.retain_capacity); │ │1731 const aa = self.arena.allocator(); │ │1701 - const path = self.session.data.current_page.urlAlloc(&self.arena) catch return; │ │1732 + const page = self.session.data.current_page; │ │1733 + const path = (if (self.session.local != null) page.urlAllocLocal(&self.arena) else page.urlAlloc(&self.arena)) catch return;│ │1734 const text = if (self.session.web_port) |port| │ │1735 std.fmt.allocPrint(aa, "http://localhost:{d}{s}", .{ port, path }) catch return │ │1736 else │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯