forked from linweiyuan/go-chatgpt-api
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new headers and improved ID setup
Enhanced the Proxy function by adding three new headers: 'Oai-Language', 'Oai-Device-Id', and 'Cookie'. Also, refactored the setupID function to improve error handling and update PUID and OAIDID more efficiently. Additionally, a device id is now generated in the GetIDs function.
- Loading branch information
Showing
1 changed file
with
50 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters