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