Changed the rewrite to a redirect

This commit is contained in:
Jeffrey Phillips Freeman 2023-10-12 15:07:10 -04:00
parent aec1c6f103
commit 0648904b51
No known key found for this signature in database
GPG key ID: AD914585C9406B6A

View file

@ -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"