Skip to content

Commit 848b4cb

Browse files
kevinjiteemingc
andauthored
chore: update link to Workers Sites section (#14237)
* chore: update link to Workers Sites section * Apply suggestion from @eltigerchino --------- Co-authored-by: Tee Ming <chewteeming01@gmail.com>
1 parent c5f7139 commit 848b4cb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/eleven-snakes-listen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/adapter-cloudflare': patch
3+
---
4+
5+
chore: update error message link to the Workers Sites migration guide

packages/adapter-cloudflare/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function validate_worker_settings(wrangler_config) {
2323
// we don't support workers sites
2424
if (wrangler_config.site) {
2525
throw new Error(
26-
`You must remove all \`site\` keys in ${wrangler_config.configPath}. Consult https://svelte.dev/docs/kit/adapter-cloudflare#Migrating-from-Workers-Sites-to-Workers-Static-Assets`
26+
`You must remove all \`site\` keys in ${wrangler_config.configPath}. Consult https://svelte.dev/docs/kit/adapter-cloudflare#Migrating-from-Workers-Sites`
2727
);
2828
}
2929

0 commit comments

Comments
 (0)