feat: vercel no api cache

This commit is contained in:
Joel
2023-05-14 16:52:21 +08:00
parent 7a1b139f04
commit 0630f6f2da

17
service/vercel.json Normal file
View File

@ -0,0 +1,17 @@
{
"headers": [
{
"source": "/api/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "no-store, max-age=0"
},
{
"key": "Pragma",
"value": "no-cache"
}
]
}
]
}