Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Bugfix/bad build (#829)

Joseph Milazzoce2542bf17c3
diff --git a/API/Program.cs b/API/Program.cs
index f52a80bc2..52e993e81 100644
--- a/API/Program.cs
+++ b/API/Program.cs
@@ -74,7 +74,10 @@ namespace API
return;
}
- var directoryService = services.GetRequiredService<DirectoryService>();
+ // This doesn't work either
+ //var directoryService = services.GetRequiredService<DirectoryService>();
+ var directoryService = new DirectoryService(null, new FileSystem());
+
var requiresCoverImageMigration = !Directory.Exists(directoryService.CoverImageDirectory);