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();