Skip to content

Commit

Permalink
change: well-known did format
Browse files Browse the repository at this point in the history
  • Loading branch information
Nem-Tudo committed Sep 14, 2024
1 parent 8f5c98f commit 2c7ae84
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,15 +872,18 @@ app.get("/xrpc/app.bsky.feed.describeFeedGenerator", (req, res) => {

app.get("/.well-known/did.json", (req, res) => {
return res.json({
"@context": "https://www.w3.org/ns/did/v1",
"@context": [
"https://www.w3.org/ns/did/v1"
],
"id": "did:web:betterbluesky.nemtudo.me",
"service": [
{
"type": "FeedGenerator",
"serviceEndpoint": "https://betterbluesky.nemtudo.me/xrpc"
}
{
"id": "#bsky_fg",
"type": "BskyFeedGenerator",
"serviceEndpoint": "https://betterbluesky.nemtudo.me"
}
]
})
})
})

app.get("*", (req, res) => {
Expand Down

0 comments on commit 2c7ae84

Please sign in to comment.