Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix sending headers

Fang-Pen Lin3c3d89035051
diff --git a/backend/src/ee/routes/v1/pki-acme-router.ts b/backend/src/ee/routes/v1/pki-acme-router.ts
index 53bb812248..2fb52695c4 100644
--- a/backend/src/ee/routes/v1/pki-acme-router.ts
+++ b/backend/src/ee/routes/v1/pki-acme-router.ts
@@ -53,7 +53,7 @@ export const registerPkiAcmeRouter = async (server: FastifyZodProvider) => {
const sendAcmeResponse = async <T>(res: FastifyReply, profileId: string, response: TAcmeResponse<T>): Promise<T> => {
res.code(response.status);
- for (const [key, value] of Object.entries(response.headers)) {
+ for (const [key, value] of response.headers) {
res.header(key, value);
}