Skip to content

Commit

Permalink
fix: remove unneed code
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x authored Feb 2, 2025
1 parent a48d054 commit 33c4a6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/middleware/etag/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export const etag = (options?: ETagOptions): MiddlewareHandler => {
}

if (etagMatches(etag, ifNoneMatch)) {
await c.res.blob() // Force using body
c.res = new Response(null, {
status: 304,
statusText: 'Not Modified',
Expand Down

0 comments on commit 33c4a6a

Please sign in to comment.