Skip to content

Commit 70bf3c1

Browse files
chore: autofix lint
1 parent f4b9c89 commit 70bf3c1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/kit/src/runtime/server/respond.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,11 @@ export async function internal_respond(request, options, manifest, state) {
629629

630630
// Prefer rendering the page if the endpoint can't handle this GET or HEAD request
631631
if (route.page && (method === 'GET' || method === 'HEAD')) {
632-
const endpoint_can_handle = !!(endpoint.GET || endpoint.fallback || (method === 'HEAD' && endpoint.HEAD));
632+
const endpoint_can_handle = !!(
633+
endpoint.GET ||
634+
endpoint.fallback ||
635+
(method === 'HEAD' && endpoint.HEAD)
636+
);
633637
if (!endpoint_can_handle) {
634638
endpoint = undefined;
635639
}

0 commit comments

Comments
 (0)