Proxy and cache preview media
build-push / docker (push) Successful in 4m5s

This commit is contained in:
AI Assistant
2026-03-16 14:28:00 +09:00
parent 473cff3b7a
commit 4dbb963256
4 changed files with 153 additions and 12 deletions
+4 -3
View File
@@ -31,9 +31,10 @@ func main() {
}
app := &handlers.App{
DB: db,
DownloadsDir: downloadsDir,
WorkerScript: workerScript,
DB: db,
DownloadsDir: downloadsDir,
PreviewCacheDir: filepath.Join(downloadsDir, ".preview-cache"),
WorkerScript: workerScript,
SearchService: services.NewSearchService(
os.Getenv("SEARXNG_BASE_URL"),
os.Getenv("SEARXNG_GOOGLE_VIDEO_ENGINE"),