Spaces:
Running
Running
fix backup endpoint path
Browse files
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/
|
| 188 |
-
BACKUP_ENDPOINT = "/api/v1/
|
| 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 |
|