Skip to content

Commit

Permalink
remove redundant URL from message
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jun 29, 2022
1 parent 51bec3b commit be026cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/runtime/server/index.js
Expand Up @@ -45,7 +45,7 @@ export async function respond(request, options, state) {
try {
decoded = decodeURI(url.pathname);
} catch {
return new Response(`Malformed URI '${url}'`, { status: 400 });
return new Response('Malformed URI', { status: 400 });
}

/** @type {import('types').SSRRoute | null} */
Expand Down

0 comments on commit be026cd

Please sign in to comment.