removes the HttpRequireSigned value from json (No longer used)

This commit is contained in:
Madpeter 2020-05-04 00:06:17 +01:00
parent 346473e745
commit 6b8348083f
2 changed files with 0 additions and 4 deletions

View file

@ -36,7 +36,6 @@ namespace BetterSecondBotShared.Json
public bool EnableHttp { get; set; } public bool EnableHttp { get; set; }
public int Httpport { get; set; } public int Httpport { get; set; }
public string Httpkey { get; set; } public string Httpkey { get; set; }
public bool HttpRequireSigned { get; set; }
public string HttpHost { get; set; } public string HttpHost { get; set; }
public bool HttpAsCnC { get; set; } public bool HttpAsCnC { get; set; }
public string HttpPublicUrlBase { get; set; } public string HttpPublicUrlBase { get; set; }

View file

@ -27,7 +27,6 @@ namespace BetterSecondBotShared.Json
case "httppublicurlbase": { return "HTTP"; } case "httppublicurlbase": { return "HTTP"; }
case "httpport": { return "HTTP"; } case "httpport": { return "HTTP"; }
case "httpkey": { return "HTTP"; } case "httpkey": { return "HTTP"; }
case "httprequiresigned": { return "HTTP"; }
case "httphost": { return "HTTP"; } case "httphost": { return "HTTP"; }
case "httpascnc": { return "HTTP"; } case "httpascnc": { return "HTTP"; }
case "discordfullserver": { return "DiscordFull"; } case "discordfullserver": { return "DiscordFull"; }
@ -62,7 +61,6 @@ namespace BetterSecondBotShared.Json
case "httppublicurlbase": { return "what is the public url base for the http interface"; } case "httppublicurlbase": { return "what is the public url base for the http interface"; }
case "httpport": { return "What port the HTTP interface should be on<br/> Example: 8080"; } case "httpport": { return "What port the HTTP interface should be on<br/> Example: 8080"; }
case "httpkey": { return "A known secret between used for HTTP calls<br/>Example: \"DontUseThis\""; } case "httpkey": { return "A known secret between used for HTTP calls<br/>Example: \"DontUseThis\""; }
case "httprequiresigned": { return "Force HTTP calls to be Signed with a hash (Not yet KnownCommand)"; }
case "httphost": { return "The URL to listen for HTTP connections on"; } case "httphost": { return "The URL to listen for HTTP connections on"; }
case "httpascnc": { return "Switchs the software into command and control mode"; } case "httpascnc": { return "Switchs the software into command and control mode"; }
case "discordfullserver": { return "Should we switch to a full server control discord link"; } case "discordfullserver": { return "Should we switch to a full server control discord link"; }
@ -114,7 +112,6 @@ namespace BetterSecondBotShared.Json
case "httppublicurlbase": { return new[] { "\"http://bot.domain.com\"" }; } case "httppublicurlbase": { return new[] { "\"http://bot.domain.com\"" }; }
case "httpport": { return new[] { "8080" }; } case "httpport": { return new[] { "8080" }; }
case "httpkey": { return new[] { "\"ThisIsAKeyYo\"" }; } case "httpkey": { return new[] { "\"ThisIsAKeyYo\"" }; }
case "httprequiresigned": { return new[] { "false" }; }
case "httphost": { return new[] { "\"http://localhost\"" }; } case "httphost": { return new[] { "\"http://localhost\"" }; }
case "httpascnc": { return new[] { "false" }; } case "httpascnc": { return new[] { "false" }; }
case "discordfullserver": { return new[] { "false" }; } case "discordfullserver": { return new[] { "false" }; }