Skip to content

Commit 183c933

Browse files
committed
Remove passthroughImageService to fix compatibility issue with imageService: "compile" after version upgrade
1 parent fc2eadf commit 183c933

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

web/astro.config.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ import { satteri } from "@astrojs/markdown-satteri";
33
import mdx from "@astrojs/mdx";
44
import react from "@astrojs/react";
55
import sitemap from "@astrojs/sitemap";
6-
import {
7-
defineConfig,
8-
fontProviders,
9-
passthroughImageService,
10-
} from "astro/config";
6+
import { defineConfig, fontProviders } from "astro/config";
117
import pagefind from "astro-pagefind";
128
import browserslist from "browserslist";
139
import { browserslistToTargets } from "lightningcss";
@@ -19,9 +15,6 @@ export default defineConfig({
1915
adapter: cloudflare({
2016
imageService: "compile",
2117
}),
22-
image: {
23-
service: passthroughImageService(),
24-
},
2518
markdown: {
2619
processor: satteri({
2720
mdastPlugins: [satteriModifiedTime],

0 commit comments

Comments
 (0)