From 2a86e6f4d15908fd67b9b40b548427e6776a565b Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 13 Jan 2025 17:17:33 -0500 Subject: [PATCH] add cache contro to cloudflare pages integration --- .../src/services/integration-auth/integration-sync-secret.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/services/integration-auth/integration-sync-secret.ts b/backend/src/services/integration-auth/integration-sync-secret.ts index 8d9ca0d3a..faaec770c 100644 --- a/backend/src/services/integration-auth/integration-sync-secret.ts +++ b/backend/src/services/integration-auth/integration-sync-secret.ts @@ -3714,7 +3714,8 @@ const syncSecretsCloudflarePages = async ({ }>(`${IntegrationUrls.CLOUDFLARE_PAGES_API_URL}/client/v4/accounts/${accessId}/pages/projects/${integration.app}`, { headers: { Authorization: `Bearer ${accessToken}`, - Accept: "application/json" + Accept: "application/json", + "Cache-Control": "no-cache" } }) ).data.result.deployment_configs[integration.targetEnvironment as string].env_vars;