Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Sep 19, 2023
1 parent 10c8a49 commit 5a928c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified docs/images/wechat2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/api/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
const headers = createHeaders(req.cookies)
do {
headers['x-forwarded-for'] = headers['x-forwarded-for'] || randomIP()
const endpoints = [req.headers['x-endpoint'], ...(process.env.ENDPOINT || '').split(',').filter(Boolean), 'www.bing.com']
const endpoints = [req.headers['x-endpoint'], ...(process.env.ENDPOINT || '').split(','), 'www.bing.com'].filter(Boolean)
const endpoint = endpoints[count % endpoints.length]
const { conversationId } = req.query
const query = conversationId ? new URLSearchParams({
Expand Down

0 comments on commit 5a928c4

Please sign in to comment.