mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 04:27:29 +00:00
add cache contro to cloudflare pages integration
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user