From 96cd0f367dacccb1b3faab931adc0489854daa9d Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Tue, 14 Jul 2026 14:43:28 -0700 Subject: [PATCH] spxrpc: override record CRUD with wildcard --- pkg/spxrpc/spxrpc.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/spxrpc/spxrpc.go b/pkg/spxrpc/spxrpc.go index ad324491..ab197325 100644 --- a/pkg/spxrpc/spxrpc.go +++ b/pkg/spxrpc/spxrpc.go @@ -114,6 +114,10 @@ func NewServer(ctx context.Context, cli *config.CLI, model model.Model, stateful // in-memory live window instead of a stored metafile. e.GET("/xrpc/place.stream.playback.getLivePlaylist", s.HandleGetLivePlaylist) e.GET("/xrpc/place.stream.playback.getLiveSegment", s.HandleGetLiveSegment) + // glex code-generated these but we want them just passed upstream + e.POST("/xrpc/com.atproto.repo.createRecord", s.HandleWildcard) + e.POST("/xrpc/com.atproto.repo.putRecord", s.HandleWildcard) + e.POST("/xrpc/com.atproto.repo.deleteRecord", s.HandleWildcard) e.GET("/xrpc/*", s.HandleWildcard) e.POST("/xrpc/*", s.HandleWildcard) return s, nil -- 2.51.2