mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-09-28 15:20:38 +02:00
Changed the rewrite to a redirect
This commit is contained in:
parent
aec1c6f103
commit
0648904b51
1 changed files with 11 additions and 5 deletions
16
vercel.json
16
vercel.json
|
@ -17,6 +17,17 @@
|
|||
{
|
||||
"source": "/activitypub-support-added/",
|
||||
"destination": "/news/activitypub-support-added/"
|
||||
},
|
||||
{
|
||||
"source": "/news/:pathPage/",
|
||||
"has": [
|
||||
{
|
||||
"type": "header",
|
||||
"key": "Accept",
|
||||
"value": "application/activity+json"
|
||||
}
|
||||
],
|
||||
"destination": "/news/:pathPage/status.ajson"
|
||||
}
|
||||
],
|
||||
"rewrites": [
|
||||
|
@ -60,11 +71,6 @@
|
|||
"source": "/send-note",
|
||||
"destination": "/api/activitypub/sendNote.js"
|
||||
},
|
||||
{
|
||||
"source": "/news/:pathPage/",
|
||||
|
||||
"destination": "/news/:pathPage/status.ajson"
|
||||
},
|
||||
{
|
||||
"source": "/:pathSection/:pathPage/activity",
|
||||
"destination": "/:pathSection/:pathPage/activity.ajson"
|
||||
|
|
Loading…
Reference in a new issue