v1.4.1: installer installs Docker, step-by-step quick start, drop confusing AWG_PROFILES hint
Some checks failed
Publish Pro image to GHCR / build-push (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Бобырев Андрей
2026-10-23 01:20:11 +03:00
parent a843f300a7
commit 1be56c1f60
5 changed files with 57 additions and 9 deletions

View File

@@ -2626,10 +2626,7 @@ app.post("/api/settings", requireAuth, async (req, res) => {
app.get("/api/protocols", requireAuth, (req, res) => {
const rt = runtimeForRequest(req);
const hintSingle =
getProfiles().length < 2
? "Сейчас один инстанс: при установке не передали AWG_PROFILES или не восстановился снимок. Задайте JSON профилей и запустите install.sh — он сохранится в /root/amnezia-admin.awg-profiles.json."
: "";
const hintSingle = "";
res.json({
currentId: rt.profile.id,
currentLabel: rt.profile.label,