Answer prose round 1: 0 🔴, 4 🟡 (0 misread); a changed file, not a release, changes the hash; the memo comment, the CHANGELOG scope and smaller comment cuts

This commit is contained in:
2026-10-31 10:16:05 +01:00
parent a7135763bb
commit c38ad74e3a
3 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ export function createApp(options: AppOptions = {}): Server {
t: ctx.t,
url: ctx.url,
});
// i18n locals and `assetHref` (static.ts) go last: their names are reserved, so a handler's
// i18n locals and `assetHref` go last: their names are reserved, so a handler's
// colliding key loses instead of breaking the shell around it.
const viewsFor = (ctx: RequestContext): ViewRenderer => (view, data) => render(view, { ...data, ...i18nLocals(localsOf(ctx)), assetHref: assets.href });
const pluginViewsFor = (ctx: RequestContext, id: string): ViewRenderer => (view, data) => renderView(id, view, { ...data, ...i18nLocals(localsOf(ctx)), assetHref: assets.href });