Skip to content

Commit 4e4a7f9

Browse files
author
Hinata Masaki
committed
update examples
1 parent ab5bec8 commit 4e4a7f9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

examples/playground15/next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ const nextConfig: NextConfig = {
1212
},
1313
deploymentId: getDeploymentId(),
1414
trailingSlash: true,
15+
images: {
16+
formats: ["image/avif", "image/webp"],
17+
},
1518
};
1619

1720
export default nextConfig;

examples/playground15/wrangler.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@
4444
"database_id": "db_id",
4545
"database_name": "db_name"
4646
}
47-
]
47+
],
48+
"images": {
49+
"binding": "IMAGES"
50+
}
4851
}

0 commit comments

Comments
 (0)