Session 12: docs page, Stripe fix, full QA pass, Phase 2 ready
This commit is contained in:
parent
6f7eb11bf1
commit
4bbcb2007c
8 changed files with 456 additions and 19 deletions
4
projects/business/src/pdf-api/dist/index.js
vendored
4
projects/business/src/pdf-api/dist/index.js
vendored
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue