diff --git a/documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md b/documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md index a41e4b422a96..a4e4da643fd2 100644 --- a/documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md +++ b/documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md @@ -29,9 +29,12 @@ export default { include: ['/*'], exclude: [''] }, - platformProxy: { - persist: './your-custom-path' - } + platformProxy: { + configPath: 'wrangler.toml', + environment: undefined, + experimentalJsonConfig: false, + persist: false + } }) } }; diff --git a/documentation/docs/25-build-and-deploy/70-adapter-cloudflare-workers.md b/documentation/docs/25-build-and-deploy/70-adapter-cloudflare-workers.md index 0d1c29f3c947..93ad3cc525e5 100644 --- a/documentation/docs/25-build-and-deploy/70-adapter-cloudflare-workers.md +++ b/documentation/docs/25-build-and-deploy/70-adapter-cloudflare-workers.md @@ -18,10 +18,13 @@ import adapter from '@sveltejs/adapter-cloudflare-workers'; export default { kit: { adapter: adapter({ - config: '.toml', - platformProxy: { - persist: './your-custom-path' - } + config: 'wrangler.toml', + platformProxy: { + configPath: 'wrangler.toml', + environment: undefined, + experimentalJsonConfig: false, + persist: false + } }) } };