Skip to content

Commit

Permalink
Merge branch 'gh-5465' of github.com:sveltejs/kit into gh-5465
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jul 20, 2022
2 parents 89d4c19 + 1078341 commit 4ea1efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/core/prerender/prerender.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { escape_html_attr } from '../../utils/escape.js';
function format_error({ status, path, referrer, referenceType }, config) {
const message =
status === 404 && !path.startsWith(config.paths.base)
? `${path} does not begin with \`base\`, which can be imported from \`$app/paths\``
? `${path} does not begin with \`base\`, which is configured in \`paths.base\` and can be imported from \`$app/paths\``
: path;

return `${status} ${message}${referrer ? ` (${referenceType} from ${referrer})` : ''}`;
Expand Down

0 comments on commit 4ea1efd

Please sign in to comment.