Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xqdoo00o committed Jun 26, 2024
1 parent 2cc5968 commit 43160d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/chatgpt/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ func POSTconversation(message ChatGPTRequest, secret *tokens.Secret, deviceId st
request.Header.Set("Openai-Sentinel-Turnstile-Token", turnstileToken)
}
request.Header.Set("Origin", "https://chatgpt.com")
response, err := client.Do(request)
request.Header.Set("Referer", "https://chatgpt.com/")
response, err := client.Do(request)
if err != nil {
return &http.Response{}, err
}
Expand Down

0 comments on commit 43160d0

Please sign in to comment.