diff options
author | 2025-01-30 03:21:41 -0800 | |
---|---|---|
committer | 2025-01-30 11:21:41 +0000 | |
commit | f6b7839411233c95af529eb0eee098c24e1d9d80 (patch) | |
tree | 88967bbd7760edfc1aba5d552bc91b8602d61aa0 /.changeset/light-pants-smoke.md | |
parent | 2ab0a61024fa6631c35ee99a31f3c409d21dd95d (diff) | |
download | astro-@astrojs/tailwind@6.0.0.tar.gz astro-@astrojs/tailwind@6.0.0.tar.zst astro-@astrojs/tailwind@6.0.0.zip |
[ci] release (#13086)astro@5.2.0@astrojs/tailwind@6.0.0@astrojs/mdx@4.0.8@astrojs/markdown-remark@6.1.0@astrojs/markdoc@0.12.8@astrojs/internal-helpers@0.5.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '.changeset/light-pants-smoke.md')
-rw-r--r-- | .changeset/light-pants-smoke.md | 22 |
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" - } - } -}) -``` |