An in browser local PDS localpds.at
20

Configure Feed

Select the types of activity you want to include in your feed.

Fix hostfall through and add repo query param

authored by

Niall Bunting and committed by
Niall Bunting
(May 31, 2026, 1:44 AM +0100) d9ac39ed 33a359bc

+12 -2
+12 -2
backend/main.go
··· 18 18 r.GET("/xrpc/com.atproto.sync.listBlobs", getDidThenHandleSyncXRPC) 19 19 r.POST("/xrpc/com.atproto.sync.notifyOfUpdate", func(c *gin.Context) { c.Status(200) }) 20 20 21 - r.GET("/xrpc/com.atproto.repo.describeRepo", getDidThenHandleSyncXRPC) 21 + r.GET("/xrpc/com.atproto.repo.describeRepo", getDidThenHandleSyncXRPC) 22 + r.GET("/xrpc/com.atproto.repo.getRecord", getDidThenHandleSyncXRPC) 23 + r.GET("/xrpc/com.atproto.repo.listRecords", getDidThenHandleSyncXRPC) 24 + r.GET("/xrpc/com.atproto.repo.listMissingBlobs",getDidThenHandleSyncXRPC) 22 25 23 26 r.GET("/xrpc/com.atproto.sync.getBlob", getDidThenHandleSyncXRPC) 24 27 r.GET("/xrpc/com.atproto.sync.getBlocks", getDidThenHandleSyncXRPC) ··· 43 46 did := c.Query("did") 44 47 if did != "" { 45 48 handleSyncXRPC(c, did) 49 + return 50 + } 51 + 52 + repo := c.Query("repo") 53 + if repo != "" { 54 + handleSyncXRPC(c, repo) 55 + return 46 56 } 47 57 48 58 49 59 fullHost := c.Request.Host 50 - handleSyncXRPC(c, "did:wed:" + fullHost) 60 + handleSyncXRPC(c, "did:web:" + fullHost) 51 61 } 52 62 53 63