fix: webfinger

This commit is contained in:
Cory Dransfeldt 2023-03-28 13:51:41 -07:00
parent a80f2aff25
commit 0981393695
No known key found for this signature in database
2 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,35 @@
---
permalink: '.well-known/webfinger'
eleventyExcludeFromCollections: true
dynamicPermalink: false
---
{
"subject": "acct:coryd@social.lol",
"aliases": ["https://coryd.dev", "https://social.lol/@coryd", "https://social.lol/users/coryd"],
"links": [
{
"rel": "http://webfinger.net/rel/avatar",
"type": "image/webp",
"href": "https://coryd.dev/static/images/avatar.webp"
},
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://coryd.dev"
},
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://social.lol/users/coryd"
},
{
"rel": "self",
"type": "application/activity+json",
"href": "https://social.lol/users/coryd"
},
{
"rel": "http://ostatus.org/schema/1.0/subscribe",
"template": "social.lol/authorize_interaction?uri={uri}"
}
]
}

View file

@ -2,7 +2,7 @@
"rewrites": [ "rewrites": [
{ {
"source": "/.well-known/webfinger", "source": "/.well-known/webfinger",
"destination": "https://social.lol/.well-known/webfinger?resource=cory@social.lol" "destination": "/.well-known/webfinger.json"
} }
], ],
"redirects": [ "redirects": [