diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-07-13 18:52:32 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-07-13 18:52:55 +0530 |
| commit | 87c5ba8c5f859fd26a038f6a704e856167c78758 (patch) | |
| tree | 471eb0ff7a729fffbc53495781ef428d7986ddf5 /internal/api/server.go | |
| parent | fdf1148db3c37d1be83ea4d52ac370c5da9593a4 (diff) | |
| download | galleryd-87c5ba8c5f859fd26a038f6a704e856167c78758.tar.xz galleryd-87c5ba8c5f859fd26a038f6a704e856167c78758.zip | |
feat(api): serve cached thumbnails
Diffstat (limited to 'internal/api/server.go')
| -rw-r--r-- | internal/api/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/server.go b/internal/api/server.go index 2bec8e2..ad2d776 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -14,6 +14,6 @@ type Server struct { mux *http.ServeMux http *http.Server - gallery service.GalleryService - thumbnail *thumbnail.Generator + gallery service.GalleryService + thumbnails *thumbnail.Generator } |