From 4f2c2a6951d3559e7656fd40d10f467fe8fc390e Mon Sep 17 00:00:00 2001 From: Ash Date: Sun, 4 Feb 2024 14:37:26 +0800 Subject: [PATCH] mod image url --- astro.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/astro.config.ts b/astro.config.ts index 27e7d52..9d63474 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -1,4 +1,4 @@ -import { defineConfig } from "astro/config"; +import { defineConfig, passthroughImageService } from "astro/config"; import tailwind from "@astrojs/tailwind"; import react from "@astrojs/react"; import remarkToc from "remark-toc"; @@ -10,6 +10,9 @@ import { SITE } from "./src/config"; export default defineConfig({ site: SITE.website, base: '/', + image: { + service: passthroughImageService(), + }, integrations: [ tailwind({ applyBaseStyles: false,