Skip to content

Commit 4edf3e7

Browse files
authored
添加兼容cookie (#141)
* fix * fix
1 parent a812be9 commit 4edf3e7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bizyui/js/siliconcloud_llm_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const createModelFetchExtension = (nodeName, endpoint) => {
2323
// 服务器模式,需要token
2424
return new Promise((resolve) => {
2525
const checkToken = () => {
26-
const token = getCookie("auth_token");
26+
const token = getCookie("auth_token") || getCookie("bizy_token");
2727
if (token) {
2828
clearInterval(timer);
2929
fetchWithToken(token).then(resolve);

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.71
1+
1.2.72

0 commit comments

Comments
 (0)