🐛 Trying to fix upload offset not found in frontend

This commit is contained in:
2025-07-27 14:25:45 +08:00
parent f74b1cf46a
commit 4a0117906a
8 changed files with 35 additions and 13 deletions

View File

@@ -11,7 +11,7 @@ using tusdotnet.Stores;
var builder = WebApplication.CreateBuilder(args);
// Configure Kestrel and server options
builder.ConfigureAppKestrel(builder.Configuration);
builder.ConfigureAppKestrel(builder.Configuration, maxRequestBodySize: long.MaxValue);
// Add application services
builder.Services.AddRegistryService(builder.Configuration);