跳出到 登录功能 重构
This commit is contained in:
@@ -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" });
|
||||
|
||||
Reference in New Issue
Block a user