workflow: 使用 vercel 部署站点

This commit is contained in:
xiangshu233 2024-11-10 00:02:20 +08:00
parent 049873710c
commit 9a4a8f8d17
2 changed files with 9 additions and 0 deletions

1
public/_redirects Normal file
View File

@ -0,0 +1 @@
/* /index.html 200

8
vercel.json Normal file
View File

@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/(.*)",
"destination": "/$1"
}
]
}