mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
feat: ws反代请求添加UA: OneBot/11
This commit is contained in:
parent
45c922c377
commit
4c7ed01776
@ -87,6 +87,7 @@ export class ReverseWebsocket {
|
||||
'X-Self-ID': selfInfo.uin,
|
||||
'Authorization': `Bearer ${token}`,
|
||||
'x-client-role': 'Universal', // koishi-adapter-onebot 需要这个字段
|
||||
"User-Agent": "OneBot/11",
|
||||
}
|
||||
});
|
||||
registerWsEventSender(this.websocket);
|
||||
|
Loading…
x
Reference in New Issue
Block a user