This commit is contained in:
2026-03-19 18:00:46 +07:00
commit f72ad2769f
98 changed files with 9299 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import type { RequestHandler } from "express";
import crypto from "node:crypto";
export const requestIdMiddleware: RequestHandler = (req, _res, next) => {
req.requestId = crypto.randomUUID();
next();
};