removing not effective settings value (MaxRequestBodySize)
This commit is contained in:
parent
d33b2322da
commit
e4efe2a58b
@ -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>();
|
||||
|
||||
@ -39,9 +39,6 @@
|
||||
"LocalSqliteImport": {
|
||||
"FilePath": "C:\\Users\\moham\\AppData\\Local\\ganjoor\\ganjoor\\ganjoor.s3db"
|
||||
},
|
||||
"IIS": {
|
||||
"UploadLimit": "52428800"
|
||||
},
|
||||
"AudioUploadService": {
|
||||
"Enabled": "True",
|
||||
"TempUploadPath": "C:\\tempaudio",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user