mirror of
https://github.com/andrey271192/amnezia_web-PRO.git
synced 2026-09-20 14:42:00 +00:00
docsfeat(warp): clarify optional install + add uninstall command
README/panel-guide/UI explain WARP is not required; document uninstall. Add warp-amnezia.sh uninstall to strip warp conf, rules, and start.sh block. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1700,7 +1700,7 @@ app.post("/api/warp/start", requireAuth, async (req, res) => {
|
||||
if (!(await warpFileExists(rt, rt.profile.warpConf))) {
|
||||
return res.status(400).json({
|
||||
error:
|
||||
"WARP не установлен (нет warp.conf). Один раз выполните на хосте: scripts/warp-amnezia.sh install — см. README.",
|
||||
"WARP не установлен (нет warp.conf). На хосте: scripts/warp-amnezia.sh install — или игнорируйте раздел, если WARP не нужен (см. README).",
|
||||
});
|
||||
}
|
||||
try {
|
||||
@@ -1732,7 +1732,7 @@ app.post("/api/warp/routing", requireAuth, async (req, res) => {
|
||||
if (!(await warpFileExists(rt, rt.profile.warpConf))) {
|
||||
return res.status(400).json({
|
||||
error:
|
||||
"WARP не установлен. Сначала scripts/warp-amnezia.sh install на хосте VPS (root).",
|
||||
"WARP не установлен. Сначала scripts/warp-amnezia.sh install на хосте VPS (root), либо не используйте этот раздел.",
|
||||
});
|
||||
}
|
||||
const raw = req.body?.selectedAllowedIps;
|
||||
|
||||
Reference in New Issue
Block a user