aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-13 19:30:02 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-13 19:30:02 +0530
commit887d212288db292dbbc557191ef1507b70ca8507 (patch)
treee7dfc90890555d91f8495443deb948033e693d7b /cmd
parent87c5ba8c5f859fd26a038f6a704e856167c78758 (diff)
downloadgalleryd-887d212288db292dbbc557191ef1507b70ca8507.tar.xz
galleryd-887d212288db292dbbc557191ef1507b70ca8507.zip
refactor(api): abstract thumbnail generator
Diffstat (limited to 'cmd')
-rw-r--r--cmd/galleryd/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/galleryd/main.go b/cmd/galleryd/main.go
index 5544544..41b62cf 100644
--- a/cmd/galleryd/main.go
+++ b/cmd/galleryd/main.go
@@ -5,6 +5,7 @@ import (
"log"
"os"
"os/signal"
+ "path/filepath"
"syscall"
"github.com/RanXom/galleryd/internal/api"
@@ -25,7 +26,7 @@ func main() {
scanner := scanner.New(scanner.Config{
Roots: []string{
- ".",
+ filepath.Join(os.Getenv("HOME"), "Pictures"),
},
})