mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 18:59:31 +08:00
feat:add pleroma redirect
This commit is contained in:
parent
0e650c5e72
commit
f41426b657
2 changed files with 32 additions and 0 deletions
|
@ -33,6 +33,11 @@ node_bundler = "esbuild"
|
|||
Content-Security-Policy = "style-src 'self' 'unsafe-inline' https://cdn.commento.io/css/commento.css http://fonts.cdnfonts.com/css/lato ; script-src 'self' 'unsafe-inline' https://*.seviche.cc https://giscus.app https://hexoverc.vercel.app/umami.js https://cdn.splitbee.io/sb.js https://cdn.commento.io/js/commento.js"
|
||||
Referrer-Policy = "strict-origin-when-cross-origin"
|
||||
Permissions-Policy = "usb=()"
|
||||
[[redirects]]
|
||||
from = "/.well-known/webfinger"
|
||||
to = "https://kongwoo.icu/.well-known/webfinger?resource=acct:blog@kongwoo.icu"
|
||||
status = 302
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/.well-known/host-meta"
|
||||
|
|
27
urara/.well-known/webfinger
Normal file
27
urara/.well-known/webfinger
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"aliases": [
|
||||
"https://kongwoo.icu/users/blog"
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"href": "https://kongwoo.icu/users/blog",
|
||||
"rel": "http://webfinger.net/rel/profile-page",
|
||||
"type": "text/html"
|
||||
},
|
||||
{
|
||||
"href": "https://kongwoo.icu/users/blog",
|
||||
"rel": "self",
|
||||
"type": "application/activity+json"
|
||||
},
|
||||
{
|
||||
"href": "https://kongwoo.icu/users/blog",
|
||||
"rel": "self",
|
||||
"type": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""
|
||||
},
|
||||
{
|
||||
"rel": "http://ostatus.org/schema/1.0/subscribe",
|
||||
"template": "https://kongwoo.icu/ostatus_subscribe?acct={uri}"
|
||||
}
|
||||
],
|
||||
"subject": "acct:blog@kongwoo.icu"
|
||||
}
|
Loading…
Reference in a new issue