Skip to content

Commit 2b478f1

Browse files
committed
fix(site): priorize redirects
1 parent 00087d1 commit 2b478f1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/blue-shoes-cross.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@suid/site": patch
3+
---
4+
5+
Fix redirects.

packages/site/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ export default defineConfig({
7676
await writeFile(
7777
redirectsPath,
7878
[
79-
"/* /index.html 200",
8079
"https://suid.io/* https://suid.dev/:splat 301!",
8180
"https://next.suid.io/* https://next.suid.dev/:splat 301!",
81+
"/* /index.html 200",
8282
].join("\n")
8383
);
8484
},

0 commit comments

Comments
 (0)