mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-11-13 00:14:22 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user