Skip to content

Commit 2dd2c9b

Browse files
committed
Fix "No such header #boot" errors in PWA mode
1 parent 1a5c7fd commit 2dd2c9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,9 @@ export class Client {
882882
if (path) {
883883
console.log("Navigating to last opened page", getNameFromPath(path));
884884
ref = { path };
885+
} else {
886+
// Strip the #boot detail — it's not a real header
887+
delete ref.details;
885888
}
886889
}
887890

0 commit comments

Comments
 (0)