Skip to content

Commit 5e6b559

Browse files
ci: apply automated fixes
1 parent 97f09f4 commit 5e6b559

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/start-server-core/src/createStartHandler.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,8 +903,8 @@ async function handleServerRoutes({
903903
// Priority for HEAD: explicit HEAD handler → GET → ANY (last resort).
904904
const handler =
905905
requestMethod === 'HEAD'
906-
? handlers['HEAD'] ?? handlers['GET'] ?? handlers['ANY']
907-
: handlers[requestMethod] ?? handlers['ANY']
906+
? (handlers['HEAD'] ?? handlers['GET'] ?? handlers['ANY'])
907+
: (handlers[requestMethod] ?? handlers['ANY'])
908908
isHeadFallback =
909909
requestMethod === 'HEAD' && handler !== undefined && !handlers['HEAD']
910910

0 commit comments

Comments
 (0)