Skip to content

Commit

Permalink
修复备用1
Browse files Browse the repository at this point in the history
  • Loading branch information
akl7777777 committed Sep 25, 2023
1 parent e808296 commit 226c4d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"identifier": "com.akl.bob-plugin-akl-chatgpt-free-translate",
"version": "2.0.1",
"version": "2.0.2",
"category": "translate",
"name": "Free ChatGPT",
"summary": "免秘钥免启动任何服务调用ChatGPT",
Expand Down
4 changes: 2 additions & 2 deletions src/space1.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function translate(query, source_lang, target_lang, translate_text, comple
const L = Date.now();
const resp = await $http.request({
method: "POST",
url: random_safe('aHR0cHM6Ly9lbmRsZXNzLWNoYXQubmV0bGlmeS5hcHAvYXBpL2dlbmVyYXRl'),
url: random_safe('aHR0cHM6Ly9lMy5mcmVjaGF0Lnh5ei9hcGkvZ2VuZXJhdGU='),
body: {
messages: A,
time: L,
Expand Down Expand Up @@ -91,7 +91,7 @@ async function digestMessage(r) {
async function generateSignature(r) {
const {t: e, m: t} = r;
const n = {}.PUBLIC_SECRET_KEY;
const a = `${e}:${t}:PLEASE use https://forward.free-chat.asia/v1/chat/completion for free!!! Don't steal my money, thank you! Docs at https://forward.free-chat.asia/redoc`;
const a = `${e}:${t}:PLEASE use https://forward.free-chat.asia/v1/chat/completion for free if you want!!! Don't steal my money, thank you! Docs at https://forward.free-chat.asia/redoc`;
const rs = await digestMessage(a);
$log.error('==========' + rs)
return rs;
Expand Down

0 comments on commit 226c4d8

Please sign in to comment.