templates: logo 404s on /c/<slug> (no trailing slash) — relative src resolves to /c/logo.svg #115
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed on the live ngati-example Poster page 2026-09-04: the hero medallion shows a broken image. The template emits
<img src="logo.svg">; the page is served at/c/<slug>(no trailing slash), so the browser resolves the relative URL to/c/logo.svg-> 404./c/<slug>/logo.svgreturns 200.Change
In
templates/src/community-page.ts, emit an absolute logo URL:/c/${slug}/logo.svg(slug is available via the submission brand; keep usinglogoFilefor the filename so png kits work). Works identically under prod Caddy and the dev/e2e Hono route (/c/:slug/:file{logo...}).Acceptance
img srcequals/c/<slug>/<logoFile>.page.waitForResponseon the logo URL with status 200, or assert the img natural width > 0) so a regression can't pass silently again.make test,make typecheck,make e2egreen.out_of_scope
Any other template change; Caddy config.
needs_human_decision
None.
Interactive takeover: swarm hosts have been capacity-starved for 4 days (ticks absorbed), so this never got claimed. Fixing directly — branch agent/issue-115, PR to follow.