diff --git a/backend/src/Program.cs b/backend/src/Program.cs index 1b19d18..b780808 100644 --- a/backend/src/Program.cs +++ b/backend/src/Program.cs @@ -19,7 +19,7 @@ if (builder.Environment.IsDevelopment()) } else { - dbConnectionString = "Data Source=JellyGlass.db;"; + dbConnectionString = "Data Source=./db/JellyGlass.db;"; } builder.Services.AddSqlite(dbConnectionString); @@ -36,16 +36,6 @@ using (var scope = app.Services.CreateScope()) { var dbContext = scope.ServiceProvider.GetRequiredService(); dbContext.Database.Migrate(); - - dbContext.Servers.Add(new JellyGlass.Models.Server() - { - ApiToken = "56b6f91b816540b59d03a0db53c2dc8e", - Id = "1", - Owner = "Riley", - Url = "https://jellyfin.foxhawk.co.uk" - }); - - dbContext.SaveChanges(); } // Configure the HTTP request pipeline.