From 118ce5a07a3a984353c3fc858b34c67e9e560fa0 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Sat, 8 Apr 2023 20:18:36 -0700 Subject: [PATCH] fix: update broken link in error message --- .changeset/loud-drinks-sort.md | 5 +++++ packages/adapter-static/index.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/loud-drinks-sort.md diff --git a/.changeset/loud-drinks-sort.md b/.changeset/loud-drinks-sort.md new file mode 100644 index 000000000000..74ea89ece6cc --- /dev/null +++ b/.changeset/loud-drinks-sort.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/adapter-static': patch +--- + +fix: update broken link in error message diff --git a/packages/adapter-static/index.js b/packages/adapter-static/index.js index c151afc2c921..f2db6ae30449 100644 --- a/packages/adapter-static/index.js +++ b/packages/adapter-static/index.js @@ -25,7 +25,7 @@ export default function (options) { ${builder.routes.map((route) => ` - ${path.posix.join(prefix, route.id)}`).join('\n')} You have the following options: - - set the \`fallback\` option — see https://github.com/sveltejs/kit/tree/master/packages/adapter-static#spa-mode for more info. + - set the \`fallback\` option — see https://kit.svelte.dev/docs/single-page-apps#usage for more info. - add \`export const prerender = true\` to your root \`+layout.js/.ts\` or \`+layout.server.js/.ts\` file. This will try to prerender all pages. - add \`export const prerender = true\` to any \`+server.js/ts\` files that are not fetched by page \`load\` functions. ${config_option}