mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-24 11:11:29 +08:00
feat: do not use sharp in cf
This commit is contained in:
@ -6,7 +6,7 @@ import expressiveCode from "astro-expressive-code";
|
||||
import icon from "astro-icon";
|
||||
import robotsTxt from "astro-robots-txt";
|
||||
import webmanifest from "astro-webmanifest";
|
||||
import { defineConfig, envField } from "astro/config";
|
||||
import { defineConfig, envField, passthroughImageService } from "astro/config";
|
||||
import { expressiveCodeOptions } from "./src/site.config";
|
||||
import { siteConfig } from "./src/site.config";
|
||||
import react from "@astrojs/react";
|
||||
@ -27,6 +27,7 @@ export default defineConfig({
|
||||
site: siteConfig.url,
|
||||
image: {
|
||||
domains: ["webmention.io"],
|
||||
service: passthroughImageService(),
|
||||
},
|
||||
integrations: [
|
||||
expressiveCode(expressiveCodeOptions),
|
||||
|
Reference in New Issue
Block a user