update minio, default all option to false;

This commit is contained in:
2022-06-29 02:50:15 +08:00
parent 22704590f5
commit 63dcd0f13f
2 changed files with 16 additions and 7 deletions
+15 -6
View File
@@ -4,15 +4,24 @@ namespace SimApi.Configs
{
public class SimApiOptions
{
public bool EnableCors { get; set; } = true;
public bool EnableCors { get; set; } = false;
public bool EnableSimApiAuth { get; set; } = false;
public bool EnableSimApiDoc { get; set; } = true;
public bool EnableSimApiException { get; set; } = true;
public bool EnableSimApiDoc { get; set; } = false;
public bool EnableSimApiException { get; set; } = false;
public bool EnableSimApiStorage { get; set; } = false;
public bool EnableForwardHeaders { get; set; } = true;
public bool EnableLowerUrl { get; set; } = true;
public bool EnableLogger { get; set; } = true;
public bool EnableForwardHeaders { get; set; } = false;
public bool EnableLowerUrl { get; set; } = false;
public bool EnableLogger { get; set; } = false;
public SimApiDocOptions SimApiDocOptions { get; set; } = new SimApiDocOptions();
public SimApiStorageOptions SimApiStorageOptions { get; set; } = new SimApiStorageOptions();
+1 -1
View File
@@ -27,7 +27,7 @@
<Folder Include="Configurations\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Minio" Version="4.0.2" />
<PackageReference Include="Minio" Version="4.0.4" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.3.1" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.3.1" />
</ItemGroup>