docs: tighten README quick start and stale comments
ci / check (push) Successful in 1m20s
ci / check (pull_request) Successful in 51s

- 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:
Noel Sabia committed 2026-11-14 09:16:19 +01:00
1 parent dbb7a009a7
commit 66b80a62fb
14 files changed
+82 -84

No files matched your search

+2 -6
View File
@@ -1,12 +1,8 @@
import { apiBaseUrl, isMockMode } from '../utils/api'
/**
* Same-origin SSE proxy. The browser never talks to Go directly, so the
* Cloudflare/K8s CORS surface stays closed and the stream can be cached or
* authenticated at one edge only.
*
* h3's proxyRequest pipes response chunks as they arrive (it does not await
* the full body), which preserves the 15 s heartbeat and `retry: 3000`.
* Same-origin SSE proxy: the browser talks only to Nitro, so CORS stays closed.
* proxyRequest forwards chunks as they arrive, preserving heartbeats and retry hints.
*/
export default defineEventHandler(async (event) => {
if (isMockMode() || process.env.NUXT_DISABLE_SSE === '1') {
+1 -2
View File
@@ -35,8 +35,7 @@ export default defineEventHandler(async (event) => {
}
}
// Stream the multipart CSV to Go unchanged. The control credentials are
// attached by the Nitro process and never reach the browser bundle.
// Forward the raw multipart CSV to Go; control credentials stay in this process.
const contentType = getRequestHeader(event, 'content-type') ?? ''
if (!contentType) {
throw createError({