From 90b6b4d0ba3be00f7f659d34b6bb728f229a90d0 Mon Sep 17 00:00:00 2001 From: saltyaom Date: Thu, 7 Nov 2024 22:24:00 +0700 Subject: [PATCH] :broom: chore: checking stats file on universal file --- src/adapter/web-standard/handler.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/adapter/web-standard/handler.ts b/src/adapter/web-standard/handler.ts index 42e01414..2dc06459 100644 --- a/src/adapter/web-standard/handler.ts +++ b/src/adapter/web-standard/handler.ts @@ -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' @@ -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 } } )