This commit is contained in:
helloworldlv
2024-08-05 17:57:17 +08:00
parent e34b4b2871
commit 34fa5a253e
+1 -1
View File
@@ -731,7 +731,7 @@ lws_vhost* WebSocket::createVhost(struct lws_protocols* protocols, int& sslConne
{
if (isCAFileExist)
{
#ifdef defined(ANDROID) || defined(OHOS)
#if defined(ANDROID) || defined(OHOS)
// if ca file is in the apk, try to extract it to writable path
std::string writablePath = gRedistPath;
static std::string newCaFilePath = writablePath + caFileName;