mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
docs: 增加部署到vercel后api跨域的解决方法
This commit is contained in:
parent
b052b462e3
commit
cc914d4799
3 changed files with 29 additions and 7 deletions
8
vercel.example.json
Normal file
8
vercel.example.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/api/:match*",
|
||||
"destination": "https://your-netease-api.example.com/:match*"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue