소스 검색

更新 'src/AppManager/Network.cpp'

dream 7 달 전
부모
커밋
4b0de88dd1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/AppManager/Network.cpp

+ 1 - 1
src/AppManager/Network.cpp

@@ -53,7 +53,7 @@ std::string Network::post_request(const std::string& url, const std::string& pos
     curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 10L); // 连接超时 10 秒
     curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); // 支持重定向
 #ifdef DEBUG_LOG
-    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); // 禁用 SSL 验证(调试用生产慎用)
+    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); // 禁用 SSL 验证(调试用生产慎用!
 #endif
     curl_easy_setopt(curl, CURLOPT_USERAGENT, "Angel/1.0 (Android)"); // 设置 User-Agent