docs: tighten README quick start and stale comments
- Lead with purpose and exact local/CI commands. - Remove local absolute paths, stale auth notes and unverified claims. - Keep comments to the reason or invariant they protect.
This commit is contained in:
1 parent
dbb7a009a7
commit
66b80a62fb
14 files changed
+82
-84
No files matched your search
@@ -39,10 +39,8 @@ function isProtected(event: import('h3').H3Event): boolean {
|
||||
}
|
||||
|
||||
/**
|
||||
* Presenter-only control surface. Basic auth is checked in Nitro; on success
|
||||
* an HMAC cookie (signed with CONTROL_PASS) lets the page POST /api/scenario
|
||||
* without re-prompting. The browser never receives the Go credentials, and
|
||||
* /stage, /live and all public GETs stay open.
|
||||
* Presenter control: Basic auth at Nitro, then an HMAC cookie (signed with
|
||||
* CONTROL_PASS) lets /control POST without re-prompting. Public GETs stay open.
|
||||
*/
|
||||
export default defineEventHandler((event) => {
|
||||
if (!isProtected(event)) return
|
||||
|
||||
Reference in new issue
Block a user