Remove the admin panel's Environment tab and env-apply
.env is edited by hand again. Drops the /admin/env endpoints, EnvManager and its registry, the host-side apply.py watcher and its install script, the backend's env-apply bind mount, and the Environment tab. The deploy and maintenance workflows still serialise docker compose, now on .compose.lock in the checkout instead of env-apply/run/lock. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+1
-2
@@ -132,8 +132,7 @@ await api.post("/radio/upload", formData, { fallback: "Upload failed" });
|
||||
It prefixes `/api`, resolves to the response body, and on failure throws an
|
||||
`ApiError` whose `message` is the backend's `{"error": "..."}` string when there
|
||||
is one, otherwise the `fallback` the caller passed. `err.status` carries the
|
||||
HTTP status for the few callers that branch on it (the Environment tab treats a
|
||||
401/403 while polling as "the apply rotated my session"). Any other option is
|
||||
HTTP status for callers that need to branch on it. Any other option is
|
||||
passed to axios, so multipart bodies and `onUploadProgress` work unchanged.
|
||||
|
||||
### Which one to use
|
||||
|
||||
Reference in New Issue
Block a user