mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
feat: ws反代请求添加UA: OneBot/11
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user