Skip to content

Commit

Permalink
fix: update broken link in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Apr 9, 2023
1 parent 04837c0 commit 118ce5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/loud-drinks-sort.md
@@ -0,0 +1,5 @@
---
'@sveltejs/adapter-static': patch
---

fix: update broken link in error message
2 changes: 1 addition & 1 deletion packages/adapter-static/index.js
Expand Up @@ -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}
Expand Down

0 comments on commit 118ce5a

Please sign in to comment.