fix: version bump 0.3.2, remove debug log, dynamic /api version, Pro plan 5000 PDFs
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 11m28s
Promote to Production / Deploy to Production (push) Successful in 2m20s

1. Version bump to 0.3.2
2. Remove debug console.log('CACHE HIT:') from static asset middleware
3. /api endpoint: hardcoded version → dynamic from package.json
4. OpenAPI docs + terms: Pro plan 10,000 → 5,000 PDFs/month
5. Remove .backup files
This commit is contained in:
DocFast CEO 2026-02-19 14:12:37 +00:00
parent fb05989b3b
commit 37386bfb5c
8 changed files with 11 additions and 384 deletions

View file

@ -1,21 +0,0 @@
import { Router } from "express";
import { getPoolStats } from "../services/browser.js";
export const healthRouter = Router();
healthRouter.get("/", (_req, res) => {
const pool = getPoolStats();
res.json({
status: "ok",
version: "0.2.1",
pool: {
size: pool.poolSize,
active: pool.totalPages - pool.availablePages,
available: pool.availablePages,
queueDepth: pool.queueDepth,
pdfCount: pool.pdfCount,
restarting: pool.restarting,
uptimeSeconds: Math.round(pool.uptimeMs / 1000),
},
});
});