🐛 Fix skiasharp deps

This commit is contained in:
2025-05-23 02:03:10 +08:00
parent 55f853c411
commit 4e672c9f96
2 changed files with 6 additions and 3 deletions

View File

@ -130,9 +130,10 @@ builder.Services.AddSwaggerGen(options =>
});
builder.Services.AddOpenApi();
var tusDiskStore = new TusDiskStore(
builder.Configuration.GetSection("Tus").GetValue<string>("StorePath")!
);
var tusStorePath = builder.Configuration.GetSection("Tus").GetValue<string>("StorePath")!;
Directory.CreateDirectory(tusStorePath);
var tusDiskStore = new TusDiskStore(tusStorePath);
builder.Services.AddSingleton(tusDiskStore);
builder.Services.AddSingleton<FlushBufferService>();