Skip to content

Commit

Permalink
fix: 修复国内备用1
Browse files Browse the repository at this point in the history
  • Loading branch information
akl7777777 committed Dec 19, 2023
1 parent c2438b9 commit 4424cc7
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.1.5",
"version": "2.1.6",
"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('aHR0cHM6Ly9zaGUxLmZyZWUtY2hhdC5hc2lhL2FwaS9kb25vdC1yZXZlcnNlLWVuZ2luZWVyaW5nLW1l'),
url: random_safe('aHR0cHM6Ly9lNi5mcmVjaGF0Lnh5ei9hcGkvZ2VuZXJhdGU='),
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 contact me through me@muspimerol.site`;
const a = `${e}:${t}:Please don't do reverse engineering on my API, I know it is easy but this is a non-profit site, so don't be evil please! If you wan't to serve other people, contact me at me@muspimerol.site and I can give you free API service if possible. Thank you! Again, If you wan't to serve other people, contact me at me@muspimerol.site and I can give you free API service if possible. Thank you! Again, If you wan't to serve other people, contact me at me@muspimerol.site and I can give you free API service if possible. Thank you! If I missed your email, I'm sorry about that, and you can contact me at kilo.meter@foxmail.com instead, if you want. Thank you!`;
const rs = await digestMessage(a);
$log.error('==========' + rs)
return rs;
Expand Down

0 comments on commit 4424cc7

Please sign in to comment.