fix: preserve AWG_PROFILES on reinstall; GET export URL + token

- install.sh: snapshot /root/amnezia-admin.awg-profiles.json + restore from old container
- GET /api/clients/export-config (+ profileId); optional EXPORT_CONFIG_SECRET
- UI: direct link, copy URL, hint when last_config missing

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Андрей Бобырев
2026-05-14 18:32:51 +03:00
parent 75a3e56354
commit 227bb94627
6 changed files with 177 additions and 13 deletions

View File

@@ -521,6 +521,13 @@ tr:last-child td {
flex-wrap: wrap;
}
.export-missing-hint {
margin: 0.35rem 0 0;
font-size: 0.72rem;
line-height: 1.35;
max-width: 22rem;
}
.raw {
margin-top: 1.25rem;
color: var(--muted);