This commit is contained in:
+4
-3
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user