summaryrefslogtreecommitdiff
path: root/.changeset/light-pants-smoke.md
diff options
context:
space:
mode:
Diffstat (limited to '.changeset/light-pants-smoke.md')
-rw-r--r--.changeset/light-pants-smoke.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/.changeset/light-pants-smoke.md b/.changeset/light-pants-smoke.md
deleted file mode 100644
index 6a7f4a15b..000000000
--- a/.changeset/light-pants-smoke.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-'astro': minor
----
-
-Adds support for redirecting to external sites with the [`redirects`](https://docs.astro.build/en/reference/configuration-reference/#redirects) configuration option.
-
-Now, you can redirect routes either internally to another path or externally by providing a URL beginning with `http` or `https`:
-
-```js
-// astro.config.mjs
-import {defineConfig} from "astro/config"
-
-export default defineConfig({
- redirects: {
- "/blog": "https://example.com/blog",
- "/news": {
- status: 302,
- destination: "https://example.com/news"
- }
- }
-})
-```