From 7a07e24916cd5bc762996d81aa1faf550177cd6f Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 12 Oct 2026 17:15:03 -0300 Subject: 9web: serve prefixed sites through the composed 9P namespace Post only the pure site/control/discovery tree, with a separate host-only adapter and no duplicate supervision. Serve websites, metadata and legacy controls through the ordinary 9P mux; retain whole-root filesystem browsing and compatibility paths. Pin public file descriptors across publication. Add opt-in build-time HTML/CSS prefix packaging with separate atomic preview generations and unchanged JavaScript/default output. Optional compatibility ports use ?u16. Deploy all five workstation sites on [::]:8090, with /mnt/9p/9web controls. Document Plan 9 references, companion build commits, shared-origin trust and live validation. Validated catalogue, host/FUSE, HTTP FS, mux, prefix and Chromium suites; original E2E 32 scenarios; all five live sites, blog navigation, IPv4/IPv6 and real cafe build through 9P. --- web/static/catalog.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/static/catalog.mjs') diff --git a/web/static/catalog.mjs b/web/static/catalog.mjs index e110dee..2897389 100644 --- a/web/static/catalog.mjs +++ b/web/static/catalog.mjs @@ -42,7 +42,7 @@ export function catalogViews(pathLink) { $('sites-entries').append(tr); } const s = site.status; - row.link.textContent = site.title; row.link.href = url('', site.port); row.root.textContent = site.root; + row.link.textContent = site.title; row.link.href = site.port ? url('', site.port) : `/sites/${encodeURIComponent(site.name)}/`; row.root.textContent = site.root; row.phase.textContent = `${s.phase}${s.watching ? ' · watch on' : ''}${s.queued ? ' · queued' : ''}${s.exit_code !== null ? ` · exit ${s.exit_code}` : ''}`; row.phase.className = `site-phase${s.phase === 'failed' ? ' failed' : ''}`; row.finished.textContent = s.finished ? new Date(s.finished * 1000).toLocaleString() : '—'; -- cgit v1.3