Session 12: docs page, Stripe fix, full QA pass, Phase 2 ready

This commit is contained in:
Hoid 2026-02-14 14:32:11 +00:00
parent 6f7eb11bf1
commit 4bbcb2007c
8 changed files with 456 additions and 19 deletions

View file

@ -44,6 +44,10 @@ app.get("/v1/usage", authMiddleware, (_req, res) => {
// Landing page
const __dirname = path.dirname(fileURLToPath(import.meta.url));
app.use(express.static(path.join(__dirname, "../public")));
// Docs page (clean URL)
app.get("/docs", (_req, res) => {
res.sendFile(path.join(__dirname, "../public/docs.html"));
});
// API root
app.get("/api", (_req, res) => {
res.json({