From 56bb199787f8fc80b92779426644250f2709fd36 Mon Sep 17 00:00:00 2001 From: RanXom Date: Mon, 13 Jul 2026 15:53:08 +0530 Subject: feat(api): expose gallery photos endpoint --- internal/api/new.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/api/new.go') diff --git a/internal/api/new.go b/internal/api/new.go index 4941496..a7c122b 100644 --- a/internal/api/new.go +++ b/internal/api/new.go @@ -22,5 +22,10 @@ func New(config Config) *Server { srv.handleHealth, ) + srv.mux.HandleFunc( + "GET /api/photos", + srv.handlePhotos, + ) + return srv } -- cgit v1.2.3