Skip to content

Commit

Permalink
chore: 细节优化
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Sep 7, 2023
1 parent da4ea44 commit 3ba3cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ body {
align-items: center;
justify-content: center;
vertical-align: top;
top: -1px;
top: 2px;
margin: 0px 2px;
min-width: 14px;
height: 14px;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/sydney.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
const id = headers['x-forwarded-for']
headers['x-forwarded-for'] = conversationContext?.userIpAddress || headers['x-forwarded-for']

debug(id, headers)
debug(id, conversationContext, headers)
res.setHeader('Content-Type', 'text/stream; charset=UTF-8')

const ws = new WebSocket('wss://sydney.bing.com/sydney/ChatHub', {
Expand Down

0 comments on commit 3ba3cdd

Please sign in to comment.