Skip to content

Commit

Permalink
Update free_worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jyx04 authored Jun 10, 2024
1 parent b448694 commit f5713ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions free_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,12 @@ if (cookies) {
}
} */
url.host = 'new.oaifree.com';
url.protocol = 'https';
return fetch(new Request(url, request));
}
//Voice地址和其他
url.host = 'new.oaifree.com';
url.protocol = 'https';
const modifiedRequest = new Request(url, request);
if(voiceURL){
modifiedRequest.headers.set('X-Voice-Base', `https://${voiceURL}`);
Expand Down

0 comments on commit f5713ec

Please sign in to comment.