diff options
Diffstat (limited to 'internal/api/new.go')
| -rw-r--r-- | internal/api/new.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |