diff options
Diffstat (limited to '.changeset/dry-worms-knock.md')
-rw-r--r-- | .changeset/dry-worms-knock.md | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/.changeset/dry-worms-knock.md b/.changeset/dry-worms-knock.md deleted file mode 100644 index e8412e3be..000000000 --- a/.changeset/dry-worms-knock.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'astro': major ---- - -The `image.endpoint` config now allow customizing the route of the image endpoint in addition to the entrypoint. This can be useful in niche situations where the default route `/_image` conflicts with an existing route or your local server setup. - -```js -import { defineConfig } from "astro/config"; - -defineConfig({ - image: { - endpoint: { - route: "/image", - entrypoint: "./src/image_endpoint.ts" - } - }, -}) -``` |