fix: webfinger
This commit is contained in:
parent
a80f2aff25
commit
0981393695
2 changed files with 36 additions and 1 deletions
35
src/feeds/webfinger.liquid
Normal file
35
src/feeds/webfinger.liquid
Normal 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}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -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": [
|
||||||
|
|
Reference in a new issue