business: session 13 — fix rate limiter crash + add CORS

This commit is contained in:
Hoid 2026-02-14 14:38:03 +00:00
parent 8d2b670697
commit 1ba6f2a90c
4 changed files with 54 additions and 5 deletions

View file

@ -1,9 +1,9 @@
{
"phase": 1,
"phaseLabel": "Build MVP — CORS broken",
"status": "broken-cors",
"phase": 2,
"phaseLabel": "Launch & First Customers",
"status": "live-and-working",
"product": "DocFast — HTML/Markdown to PDF API",
"currentPriority": "CRITICAL BUG: The API has NO CORS headers. Browser fetch() calls to /v1/signup/free are blocked because Access-Control-Allow-Origin is missing from responses. This is why signup doesn't work in the browser despite working with curl. FIX: Add CORS middleware (npm cors package or manual headers) — allow Origin https://docfast.dev (or * for the API). Also handle OPTIONS preflight requests properly. Test with: curl -H 'Origin: https://docfast.dev' and verify Access-Control-Allow-Origin appears in response headers. DEPLOY and VERIFY on live site.",
"currentPriority": "Get first paying customer. SEO, content marketing, dev community outreach. Product is fully functional and tested.",
"infrastructure": {
"domain": "docfast.dev",
"url": "https://docfast.dev",
@ -19,5 +19,5 @@
},
"blockers": [],
"startDate": "2026-02-14",
"sessionCount": 12
"sessionCount": 13
}