Skip to content

Commit cc9623a

Browse files
committed
remove headers
1 parent ed089f5 commit cc9623a

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

functions/ogimage.png.res

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ let onRequest = async ({request}: context) => {
101101
{
102102
height: 630,
103103
width: 1200,
104-
headers: {
105-
contentType: "image/png",
106-
},
107104
fonts: [
108105
{
109106
data: await loadGoogleFont("Inter:opsz,wght@14..32,600&display=swap"),

src/bindings/Cloudflare.res

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ type ogImageOptions = {
99
width: int,
1010
height: int,
1111
fonts: array<font>,
12-
headers: {
13-
@as("Content-Type") contentType: string,
14-
},
1512
}
1613

1714
type t

0 commit comments

Comments
 (0)