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.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Fixed bad build (#828)
Joseph Milazzo9c4a36a43872
diff --git a/API/Program.cs b/API/Program.csindex 18ac62dd6..f52a80bc2 100644--- a/API/Program.cs+++ b/API/Program.cs@@ -33,19 +33,19 @@ namespace APIConsole.OutputEncoding = System.Text.Encoding.UTF8;var isDocker = new OsInfo(Array.Empty<IOsVersionAdapter>()).IsDocker;- var migrateLogger = LoggerFactory.Create(builder =>- {- builder- //.AddConfiguration(Configuration.GetSection("Logging"))- .AddFilter("Microsoft", LogLevel.Warning)- .AddFilter("System", LogLevel.Warning)- .AddFilter("SampleApp.Program", LogLevel.Debug)- .AddConsole()- .AddEventLog();- });- var mLogger = migrateLogger.CreateLogger<DirectoryService>();-- MigrateConfigFiles.Migrate(isDocker, new DirectoryService(mLogger, new FileSystem()));+ // var migrateLogger = LoggerFactory.Create(builder =>+ // {+ // builder+ // //.AddConfiguration(Configuration.GetSection("Logging"))+ // .AddFilter("Microsoft", LogLevel.Warning)+ // .AddFilter("System", LogLevel.Warning)+ // .AddFilter("SampleApp.Program", LogLevel.Debug)+ // .AddConsole()+ // .AddEventLog();+ // });+ // var mLogger = migrateLogger.CreateLogger<DirectoryService>();+ // TODO: Figure out a solution for this migration and logger.+ MigrateConfigFiles.Migrate(isDocker, new DirectoryService(null, new FileSystem()));// Before anything, check if JWT has been generated properly or if user still has defaultif (!Configuration.CheckIfJwtTokenSet() &&