add cache contro to cloudflare pages integration

This commit is contained in:
Maidul Islam
2025-01-13 17:17:39 -05:00
parent 194fbb79f2
commit 2a86e6f4d1
@@ -3714,7 +3714,8 @@ const syncSecretsCloudflarePages = async ({
}>(`${IntegrationUrls.CLOUDFLARE_PAGES_API_URL}/client/v4/accounts/${accessId}/pages/projects/${integration.app}`, { }>(`${IntegrationUrls.CLOUDFLARE_PAGES_API_URL}/client/v4/accounts/${accessId}/pages/projects/${integration.app}`, {
headers: { headers: {
Authorization: `Bearer ${accessToken}`, Authorization: `Bearer ${accessToken}`,
Accept: "application/json" Accept: "application/json",
"Cache-Control": "no-cache"
} }
}) })
).data.result.deployment_configs[integration.targetEnvironment as string].env_vars; ).data.result.deployment_configs[integration.targetEnvironment as string].env_vars;