Skip to content

Commit 9cf338d

Browse files
Merge branch 'master' into master
2 parents ced8919 + bf37029 commit 9cf338d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

frontend/src/ts/controllers/route-controller.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ type Route = {
4747

4848
const route404: Route = {
4949
path: "404",
50-
load: async () => {
51-
await PageController.change("404");
50+
load: async (_params, options) => {
51+
await PageController.change("404", options);
5252
},
5353
};
5454

@@ -224,7 +224,12 @@ async function router(options = {} as NavigateOptions): Promise<void> {
224224
};
225225

226226
if (match === undefined) {
227-
await route404.load({}, {});
227+
await route404.load(
228+
{},
229+
{
230+
force: true,
231+
}
232+
);
228233
return;
229234
}
230235

0 commit comments

Comments
 (0)