Skip to content

Commit

Permalink
fix: return correct headers for image resize requests
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmpinto committed Nov 11, 2024
1 parent f7774a7 commit d4afb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/next-on-fleek/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/next-on-fleek/templates/_worker.js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ export async function main(fleekRequest: FleekRequest): Promise<FleekResponse> {
assetsFetcher: globalThis.ASSETS,
imagesConfig: __CONFIG__.images,
});
return res.bytes();
// return adaptFetchResponseToFleekResponse(res);
return adaptFetchResponseToFleekResponse(res);
}

const adjustedRequest = adjustRequestForVercel(request);
Expand Down

0 comments on commit d4afb30

Please sign in to comment.