remove temp code

This commit is contained in:
Fishandchips321 2026-02-23 15:30:46 +00:00
parent 6e29418ba9
commit 6a47760cbf

View file

@ -19,7 +19,7 @@ if (builder.Environment.IsDevelopment())
}
else
{
dbConnectionString = "Data Source=JellyGlass.db;";
dbConnectionString = "Data Source=./db/JellyGlass.db;";
}
builder.Services.AddSqlite<DatabaseContext>(dbConnectionString);
@ -36,16 +36,6 @@ using (var scope = app.Services.CreateScope())
{
var dbContext = scope.ServiceProvider.GetRequiredService<DatabaseContext>();
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.