Skip to content

Commit 63b1800

Browse files
committed
rm content-type
1 parent e9d763a commit 63b1800

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/open-next/src/adapters/image-optimization-adapter.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ function buildFailureResponse(
202202
response.writeHead(statusCode, {
203203
Vary: "Accept",
204204
"Cache-Control": "public,max-age=60,immutable",
205-
"Content-Type": "application/json",
206205
});
207206
response.end(e?.message || e?.toString() || "An error occurred");
208207
}
@@ -214,7 +213,6 @@ function buildFailureResponse(
214213
Vary: "Accept",
215214
// For failed images, allow client to retry after 1 minute.
216215
"Cache-Control": "public,max-age=60,immutable",
217-
"Content-Type": "application/json",
218216
},
219217
body: toReadableStream(e?.message || e?.toString() || "An error occurred"),
220218
};

0 commit comments

Comments
 (0)