diff --git a/packages/next-on-fleek/package.json b/packages/next-on-fleek/package.json index 77640a14b..fd97b6517 100644 --- a/packages/next-on-fleek/package.json +++ b/packages/next-on-fleek/package.json @@ -1,6 +1,6 @@ { "name": "@fleek-platform/next-on-fleek", - "version": "1.15.4", + "version": "1.15.5", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/src/index.d.ts", diff --git a/packages/next-on-fleek/templates/_worker.js/index.ts b/packages/next-on-fleek/templates/_worker.js/index.ts index dd04bd1f0..b3dfa063a 100644 --- a/packages/next-on-fleek/templates/_worker.js/index.ts +++ b/packages/next-on-fleek/templates/_worker.js/index.ts @@ -88,8 +88,7 @@ export async function main(fleekRequest: FleekRequest): Promise { assetsFetcher: globalThis.ASSETS, imagesConfig: __CONFIG__.images, }); - return res.bytes(); - // return adaptFetchResponseToFleekResponse(res); + return adaptFetchResponseToFleekResponse(res); } const adjustedRequest = adjustRequestForVercel(request);