feat: vercel no api cache
This commit is contained in:
parent
7a1b139f04
commit
0630f6f2da
1 changed files with 17 additions and 0 deletions
17
service/vercel.json
Normal file
17
service/vercel.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"headers": [
|
||||
{
|
||||
"source": "/api/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "no-store, max-age=0"
|
||||
},
|
||||
{
|
||||
"key": "Pragma",
|
||||
"value": "no-cache"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue