mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-17 07:48:21 +01:00
Fixed the content-type returned for the status endpoints
This commit is contained in:
parent
7d16145a4f
commit
886fe83b55
1 changed files with 54 additions and 0 deletions
54
vercel.json
54
vercel.json
|
@ -101,6 +101,60 @@
|
|||
}
|
||||
},
|
||||
"headers": [
|
||||
|
||||
{
|
||||
"source": "/([^/]*)/(.*)/",
|
||||
"has": [
|
||||
{
|
||||
"type": "header",
|
||||
"key": "Accept",
|
||||
"value": "application/activity\\+json"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"key": "content-type",
|
||||
"value": "application/activity+json"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/([^/]*)/(.*)/",
|
||||
"has": [
|
||||
{
|
||||
"type": "header",
|
||||
"key": "Accept",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"key": "content-type",
|
||||
"value": "application/json"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/([^/]*)/(.*)/",
|
||||
"missing": [
|
||||
{
|
||||
"type": "header",
|
||||
"key": "Accept",
|
||||
"value": "application/activity\\+json"
|
||||
},
|
||||
{
|
||||
"type": "header",
|
||||
"key": "Accept",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"key": "content-type",
|
||||
"value": "text/html"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/(.*).ajson",
|
||||
"headers": [
|
||||
|
|
Loading…
Reference in a new issue