跳出到 登录功能 重构

This commit is contained in:
geyun
2026-10-15 10:07:42 +08:00
parent 988a0aee34
commit 8acce63d8f
3 changed files with 7 additions and 5 deletions

View File

@@ -750,7 +750,7 @@ app.post("/user", async (req, res) => {
if (!userId && userId != "NaN") {
res.json({
code: 300,
error: "http://ri.satabot.com/#/login?goRemote=1",
error: "https://ai.satabot.com/login.html",
msg: "未找到该用户"
});
return;
@@ -836,7 +836,7 @@ app.get("/sessions", async (req, res) => {
code: 300,
// error:'https://gsgg.com'
// error: "http://ri.satabot.com/#/dhhdghgbshwadhg"
error: "http://ri.satabot.com/#/login?goRemote=1"
error: "https://ai.satabot.com/login.html"
});
return;
// return res.status(500).json({ code: 505, error: "http://1.95.137.212/#/login?redirect=%2Findex&goRemote=1" });