summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/gorgeous-beds-tickle.md5
-rw-r--r--packages/astro/src/core/config/schema.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/gorgeous-beds-tickle.md b/.changeset/gorgeous-beds-tickle.md
new file mode 100644
index 000000000..5be7b2c0d
--- /dev/null
+++ b/.changeset/gorgeous-beds-tickle.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fix Invalid Input error when trying to use a custom Image Service
diff --git a/packages/astro/src/core/config/schema.ts b/packages/astro/src/core/config/schema.ts
index 5848222de..5c7a31909 100644
--- a/packages/astro/src/core/config/schema.ts
+++ b/packages/astro/src/core/config/schema.ts
@@ -123,7 +123,7 @@ export const AstroConfigSchema = z.object({
service: z.union([
z.literal('astro/assets/services/sharp'),
z.literal('astro/assets/services/squoosh'),
- z.string().and(z.object({})),
+ z.string(),
]),
})
.default({