🗑️ Remove old tus api for file upload

This commit is contained in:
2025-10-26 02:48:06 +08:00
parent 83fa2568aa
commit e8d5f22395
4 changed files with 2 additions and 310 deletions

View File

@@ -4,7 +4,6 @@ using DysonNetwork.Shared.Auth;
using DysonNetwork.Shared.Http;
using DysonNetwork.Shared.Registry;
using Microsoft.EntityFrameworkCore;
using tusdotnet.Stores;
var builder = WebApplication.CreateBuilder(args);
@@ -42,8 +41,7 @@ using (var scope = app.Services.CreateScope())
await db.Database.MigrateAsync();
}
var tusDiskStore = app.Services.GetRequiredService<TusDiskStore>();
app.ConfigureAppMiddleware(tusDiskStore);
app.ConfigureAppMiddleware();
// Configure gRPC
app.ConfigureGrpcServices();