edit : api key 파일로 관리

This commit is contained in:
2025-12-19 15:32:05 +09:00
parent 7eed2e9868
commit 113626cc5d
7 changed files with 58 additions and 6 deletions

View File

@@ -15,6 +15,8 @@ class Config:
self.sftp_port = 22
self.sftp_id = "fermat"
self.sftp_pw = "1234"
self.api_path = "./gemini.env"
def set_dev(self):
"""
@@ -28,6 +30,8 @@ class Config:
self.sftp_pw = "fermat3514"
self.db_pw = "1234"
self.api_path = "./gemini.env"
if not os.path.exists(self.remote_folder):
os.makedirs(self.remote_folder)
@@ -37,6 +41,8 @@ class Config:
self.db_pw = "Fermat3514!"
self.api_path = "../gemini.env"
if not os.path.exists(self.local_folder):
os.makedirs(self.local_folder)