diff --git a/ErsatzTV/Startup.cs b/ErsatzTV/Startup.cs index 4e481882d..923e03c44 100644 --- a/ErsatzTV/Startup.cs +++ b/ErsatzTV/Startup.cs @@ -140,7 +140,8 @@ namespace ErsatzTV SqlMapper.AddTypeHandler(new GuidHandler()); SqlMapper.AddTypeHandler(new TimeSpanHandler()); - services.AddDbContext(options => options.UseSqlite(connectionString)); + services.AddDbContext( + options => options.UseSqlite($"Data Source={FileSystemLayout.LogDatabasePath}")); services.AddMediatR(typeof(GetAllChannels).Assembly);