Skip to content

Commit b08f87d

Browse files
linjm8780860dfhfg123doombeaker
authored
修改自定义请求头 (#65)
* 未登陆时不调用fetchUnreadCount (#55) * fix:bizybot对话传入prompt_id和request_id (#56) * fix (#57) * fix * auto prettier format code --------- Co-authored-by: linjm8780860 <11494038+linjm8780860@users.noreply.github.com> * Dev limit interval (#59) * fix * auto prettier format code * fix * fix --------- Co-authored-by: linjm8780860 <11494038+linjm8780860@users.noreply.github.com> * fix * 修改siliconflow登录的clientId * fix * fix * fix * auto prettier format code * fix * fix * auto prettier format code --------- Co-authored-by: liu changzhi <116055578+dfhfg123@users.noreply.github.com> Co-authored-by: linjm8780860 <11494038+linjm8780860@users.noreply.github.com> Co-authored-by: Yao Chi <later@usopp.net> Co-authored-by: doombeaker <3351623+doombeaker@users.noreply.github.com>
1 parent 502a580 commit b08f87d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/customFetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function customFetch(url: string, options = {}, needDebounce = true, need
1818
// 添加自定义header
1919
const headers = {
2020
'Content-Type': 'application/json',
21-
api_key: Cookies.get('bizy_token') || '',
21+
Authorization: Cookies.get('bizy_token') || '',
2222
...(options as any)?.headers
2323
}
2424

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.9
1+
1.2.10

0 commit comments

Comments
 (0)