From 9cdcf2260e9355ad2d014b758acebc1e1d3e6ba3 Mon Sep 17 00:00:00 2001 From: Jaz Volpert Date: Thu, 21 Sep 2023 01:19:08 +0000 Subject: [PATCH] Plumb routes --- bgs/bgs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bgs/bgs.go b/bgs/bgs.go index c9a7756e5..a9d24fc60 100644 --- a/bgs/bgs.go +++ b/bgs/bgs.go @@ -278,6 +278,8 @@ func (bgs *BGS) StartWithListener(listen net.Listener) error { e.GET("/xrpc/com.atproto.sync.getBlocks", bgs.HandleComAtprotoSyncGetBlocks) e.GET("/xrpc/com.atproto.sync.requestCrawl", bgs.HandleComAtprotoSyncRequestCrawl) e.POST("/xrpc/com.atproto.sync.requestCrawl", bgs.HandleComAtprotoSyncRequestCrawl) + e.GET("/xrpc/com.atproto.sync.listRepos", bgs.HandleComAtprotoSyncListRepos) + e.GET("/xrpc/com.atproto.sync.getLatestCommit", bgs.HandleComAtprotoSyncGetLatestCommit) e.GET("/xrpc/com.atproto.sync.notifyOfUpdate", bgs.HandleComAtprotoSyncNotifyOfUpdate) e.GET("/xrpc/_health", bgs.HandleHealthCheck)