xce009 commited on
Commit
142fe57
·
1 Parent(s): 2b6ef22

fix backup endpoint path

Browse files
Files changed (1) hide show
  1. deploy.py +2 -2
deploy.py CHANGED
@@ -184,8 +184,8 @@ def load_env(env_path: str = ".env") -> dict[str, str]:
184
  # ─────────────────────────────────────────────────────────────
185
 
186
  BACKUP_ARCHIVE = "backup.tar.gz"
187
- RESTORE_ENDPOINT = "/api/v1/system/backup/restore"
188
- BACKUP_ENDPOINT = "/api/v1/system/backup"
189
  HEALTH_ENDPOINT = "/health"
190
  HF_API_SPACES = "https://huggingface.co/api/spaces"
191
 
 
184
  # ─────────────────────────────────────────────────────────────
185
 
186
  BACKUP_ARCHIVE = "backup.tar.gz"
187
+ RESTORE_ENDPOINT = "/api/v1/backup/restore"
188
+ BACKUP_ENDPOINT = "/api/v1/backup"
189
  HEALTH_ENDPOINT = "/health"
190
  HF_API_SPACES = "https://huggingface.co/api/spaces"
191