Present: a remote, a phone at /remote/<code> drives a presenting screen
The screen shows a code on its setup and with its controls. Anyone with it can step, pause and jump through the slides, send the screen back to its setup, or change the setup and play it there. Server-sent events, held in memory (routes/present.js); X-Accel-Buffering: no, so nginx needs no block of its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3aef3b1c34
commit
5eebc20c4e
10 changed files with 604 additions and 23 deletions
|
|
@ -413,6 +413,9 @@ export function metaFor(db, rawPath, user = null) {
|
|||
// in particular, so never indexed or in the sitemap.
|
||||
if (ACCOUNT_PAGES[pathname]) return { ...meta, title: titled(site, ACCOUNT_PAGES[pathname]), noindex: true };
|
||||
|
||||
// A presenting screen's remote (src/pages/PresentRemote.tsx).
|
||||
if (/^\/remote(\/|$)/.test(pathname)) return { ...meta, title: titled(site, "Remote"), noindex: true };
|
||||
|
||||
// A page of the site (site_pages): hidden is Not found below
|
||||
// viewer; disabled stays out of search.
|
||||
const page = pageAt(db, pathname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue