Skip to content

Commit 5253aa6

Browse files
author
liuhuiqi.7
committed
feat(cert): user dir
1 parent c7055a9 commit 5253aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

volcenginesdkarkruntime/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def _load_cert_locally(self, ep: str) -> str | None:
515515
return None
516516

517517
def _init_local_cert_cache(self):
518-
self._cert_storage_path = "./.ark/certificates"
518+
self._cert_storage_path = os.path.expanduser("~/.ark/certificates")
519519
self._cert_expiration_seconds = 14 * 24 * 60 * 60 # 14 days
520520

521521
if not os.path.exists(self._cert_storage_path):

0 commit comments

Comments
 (0)