fix(relay): authenticate endpoints and fail closed on missing routes (#569)

* fix(relay): authenticate endpoints and fail closed on missing routes

* fix(tunnel): retain chains until receiver replacement is acknowledged

* docs: record final relay security review and validation
This commit is contained in:
sagit
2026-11-08 23:46:18 +08:00
committed by GitHub
parent 46bfb86c1b
commit fadc2b6c12
51 changed files with 5562 additions and 277 deletions
+13 -1
View File
@@ -926,7 +926,19 @@ export default function TunnelPage() {
: await createTunnel(data);
if (response.code === 0) {
toast.success(isEdit ? "更新成功" : "创建成功");
if (
response.data &&
typeof response.data === "object" &&
"runtimeStatus" in response.data &&
response.data.runtimeStatus === "pending"
) {
toast(response.msg || "配置已保存,部分节点运行时待同步", {
icon: "⚠️",
duration: 6000,
});
} else {
toast.success(isEdit ? "更新成功" : "创建成功");
}
setModalOpen(false);
await refreshTunnelList(false);
} else {