add cache contro to cloudflare pages integration

This commit is contained in:
Maidul Islam
2025-01-13 17:17:33 -05:00
parent 194fbb79f2
commit 2a86e6f4d1

View File

@@ -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;