add --skip-ssl-verify cli option

This commit is contained in:
Lion Kortlepel
2024-09-22 19:42:00 +02:00
parent 2d43e11e96
commit 18e1b7a2bb
3 changed files with 17 additions and 1 deletions

View File

@@ -28,6 +28,13 @@ int main(int argc, char* argv[]) {
GetEP(argv[0]);
for (int i = 0; i < argc; ++i) {
if (std::string_view(argv[i]) == "--skip-ssl-verify") {
info("SSL verification skip enabled");
HTTP::SkipSslVerify = true;
}
}
InitLauncher(argc, argv);
try {