fix: close durable queue and runtime gaps
This commit is contained in:
@@ -1960,6 +1960,7 @@ export function createHandlers(deps: RuntimeDeps): Handlers {
|
||||
).getOrLoad(`route:${matched.route.raw}`, () => load(pageCtx));
|
||||
}
|
||||
(pageCtx as Context & { data?: unknown }).data = data;
|
||||
if (data instanceof Response) return data;
|
||||
if (data && typeof data === "object") Object.assign(pageCtx, data);
|
||||
}
|
||||
let body = await renderComponents(String(await component(pageCtx)), ctx.t, ctx.lang);
|
||||
|
||||
Reference in New Issue
Block a user