From 86f8da62ec0bb81f4a09386960a88935a07ec7ed Mon Sep 17 00:00:00 2001 From: DocFast CEO Date: Mon, 16 Feb 2026 08:32:57 +0000 Subject: [PATCH] v0.2.1: request logging, 404 handler, permissions-policy, SEO improvements, typo fix --- package-lock.json | 4 ++-- package.json | 2 +- public/index.html | 5 +++++ public/sitemap.xml | 5 ++--- src/index.ts | 37 +++++++++++++++++++++++++++++++++++-- 5 files changed, 45 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 354f3c3..920aa6c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "docfast-api", - "version": "0.1.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "docfast-api", - "version": "0.1.0", + "version": "0.2.1", "dependencies": { "compression": "^1.8.1", "express": "^4.21.0", diff --git a/package.json b/package.json index bf58497..7496134 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docfast-api", - "version": "0.1.0", + "version": "0.2.1", "description": "Markdown/HTML to PDF API with built-in invoice templates", "main": "dist/index.js", "scripts": { diff --git a/public/index.html b/public/index.html index 659e233..ed65055 100644 --- a/public/index.html +++ b/public/index.html @@ -14,6 +14,11 @@ + + + +

404

Page not found.

← Back to DocFast · API Docs

`); + } else { + res.status(404).json({ error: "Not found" }); + } + } +}); + async function start() { // Initialize PostgreSQL await initDatabase();