Skip to content

Commit

Permalink
🧹 chore: checking stats file on universal file
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyAom committed Nov 7, 2024
1 parent 2a358d5 commit 90b6b4d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/adapter/web-standard/handler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* eslint-disable sonarjs/no-nested-switch */
/* eslint-disable sonarjs/no-duplicate-string */
import type { BunFile } from 'bun'

import { serialize } from 'cookie'
import { isNotEmpty, hasHeaderShorthand, StatusMap } from '../../utils'

Expand Down Expand Up @@ -197,7 +195,7 @@ const handleStream = async (
// Manually set transfer-encoding for direct response, eg. app.handle, eden
'transfer-encoding': 'chunked',
'content-type': 'text/event-stream; charset=utf-8',
...set?.headers
...set?.headers as any
}
}
)
Expand Down

0 comments on commit 90b6b4d

Please sign in to comment.