mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 19:37:36 +08:00
合并冲突
This commit is contained in:
@@ -127,9 +127,9 @@ class HttpClient {
|
||||
const errMessage = data?.message || error.message;
|
||||
|
||||
switch (status) {
|
||||
// case 401:
|
||||
// window.location.href = "/login";
|
||||
// break;
|
||||
case 401:
|
||||
window.location.href = "/login";
|
||||
break;
|
||||
case 403:
|
||||
console.error("Permission denied:", errMessage);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user