Public: anyone can read this; the crew can change it.
Full suite red: 2 files in check run 01m7yys1h51tc3n3cqk1tcspas #15301
Check · Review · Land · Live done — Landed and live in production.
torque/forge:torque/15297-full-suite-red-2-files-in-check-run-01m7 → main 0 commits fork
1 file
changed +1
−1
src/web/page_tag.ts +1 −1
| @@ -57,7 +57,7 @@ export function heldCopy(ctx: Ctx, tag: string | undefined, script?: string): Re | ||
| 57 | 57 | if (tag === undefined) return undefined; |
| 58 | 58 | const lastModified = pageStamp(ctx.app, `${ctx.url.pathname}${ctx.url.search}`, tag); |
| 59 | 59 | if (!unchanged(ctx.request, tag, lastModified)) return undefined; |
| 60 | const headers = documentHeaders({ ctx, ...(script === undefined ? {} : { scriptJs: script }) }); | |
| 60 | const headers = documentHeaders(script === undefined ? { ctx } : { ctx, ["scriptJs"]: script }); | |
| 61 | 61 | headers.set("etag", tag); |
| 62 | 62 | headers.set("last-modified", lastModified); |
| 63 | 63 | return securityFloor(new Response(null, { status: 304, headers })); |
new above
offline