fix(ci,canvas): restore v2.6.0 hardened backend + cache-bust courier-canvas.js?v=2.6.1 and keep configs static route
CI / Build & Quality Check (push) Waiting to run

This commit is contained in:
Amirul Islam Redwan71
2026-11-12 22:08:27 +06:00
parent c37ae2f441
commit 6c1db1a068
29 changed files with 1473 additions and 251 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
import { Request } from "express";
import { EnvSource } from "./config.js";
/**
* Pull this client's courier keys from request headers or query params.
* Task T1 Tenant Isolation: Only fall back to master process.env credentials when
* the caller authenticated with the master key (tenantId === "master").
* F10 Fix: Pull client courier keys strictly from request headers.
* Query parameters are completely ignored to prevent credential leakage in URL logs.
*/
export declare function keysFromRequest(req: Request): EnvSource;
export declare const app: import("express-serve-static-core").Express;