Skip to content

Commit b148e7b

Browse files
authored
fix: add favicon size to vercel config (#4739)
Favicon size was missing in vercel config which triggered INVALID_IMAGE_OPTIMIZE_REQUEST error.
1 parent 4b1c143 commit b148e7b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

fixtures/webstudio-remix-vercel/vercel.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"images": {
33
"domains": [],
44
"sizes": [
5-
16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048,
6-
3840
5+
16, 32, 48, 64, 96, 128, 144, 256, 384, 640, 750, 828, 1080, 1200, 1920,
6+
2048, 3840
77
],
88
"minimumCacheTTL": 60,
99
"formats": ["image/webp", "image/avif"]

packages/cli/templates/ssg-vercel/public/vercel.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"images": {
33
"domains": [],
44
"sizes": [
5-
16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048,
6-
3840
5+
16, 32, 48, 64, 96, 128, 144, 256, 384, 640, 750, 828, 1080, 1200, 1920,
6+
2048, 3840
77
],
88
"minimumCacheTTL": 60,
99
"formats": ["image/webp", "image/avif"]

packages/cli/templates/vercel/vercel.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"images": {
33
"domains": [],
44
"sizes": [
5-
16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048,
6-
3840
5+
16, 32, 48, 64, 96, 128, 144, 256, 384, 640, 750, 828, 1080, 1200, 1920,
6+
2048, 3840
77
],
88
"minimumCacheTTL": 60,
99
"formats": ["image/webp", "image/avif"]

0 commit comments

Comments
 (0)