does nothing when compiling image assets

This commit is contained in:
2026-01-08 22:16:58 +00:00
parent d9824e60a5
commit d8d2e94008

View File

@@ -1,4 +1,4 @@
import { defineConfig, envField } from "astro/config"; import { defineConfig, envField, passthroughImageService } from "astro/config";
import db from "@astrojs/db"; import db from "@astrojs/db";
import mdx from "@astrojs/mdx"; import mdx from "@astrojs/mdx";
import node from "@astrojs/node"; import node from "@astrojs/node";
@@ -30,6 +30,9 @@ export default defineConfig({
CONTACT_MAILBOX: envField.string({ context: "server", access: "secret" }), CONTACT_MAILBOX: envField.string({ context: "server", access: "secret" }),
}, },
}, },
image: {
service: passthroughImageService(),
},
site: "https://joeac.net", site: "https://joeac.net",
integrations: [db(), mdx(), sitemap()], integrations: [db(), mdx(), sitemap()],
}); });