removing not effective settings value (MaxRequestBodySize)

This commit is contained in:
Hamid Reza Mohammadi 2025-04-16 10:52:57 +03:30
parent d33b2322da
commit e4efe2a58b
2 changed files with 0 additions and 10 deletions

View File

@ -320,13 +320,6 @@ namespace RMuseum
//Contributions stats service
services.AddTransient<IContributionStatsService, ContributionStatsService>();
//upload limit for IIS
services.Configure<IISServerOptions>(options =>
{
options.MaxRequestBodySize = int.Parse(Configuration.GetSection("IIS")["UploadLimit"]);
});
services.AddHostedService<QueuedHostedService>();
services.AddSingleton<IBackgroundTaskQueue, BackgroundTaskQueue>();

View File

@ -39,9 +39,6 @@
"LocalSqliteImport": {
"FilePath": "C:\\Users\\moham\\AppData\\Local\\ganjoor\\ganjoor\\ganjoor.s3db"
},
"IIS": {
"UploadLimit": "52428800"
},
"AudioUploadService": {
"Enabled": "True",
"TempUploadPath": "C:\\tempaudio",