mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
修复headers
This commit is contained in:
parent
ed568c40a4
commit
03daaa66d7
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ async function Guoba(fastify, options) {
|
||||||
const guobaOptions = {
|
const guobaOptions = {
|
||||||
method: body.post ? 'POST' : 'GET',
|
method: body.post ? 'POST' : 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
'Guoba-Access-Token': body.guobaToken
|
'Guoba-Access-Token': body.guobaToken
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue