diff --git a/dist/buildinfo.json b/dist/buildinfo.json index 0ecf6f03..0822b3d6 100644 --- a/dist/buildinfo.json +++ b/dist/buildinfo.json @@ -1 +1 @@ -{"sha":"ef4e54b","timestamp":1724829578} \ No newline at end of file +{"sha":"8ea7c0f","timestamp":1724911785} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index cbdcb083..7c64e0e3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -212,8 +212,8 @@ const ENV_KEY_MAPPER = { WORKERS_AI_MODEL: "WORKERS_CHAT_MODEL" }; class Environment extends EnvironmentConfig { - BUILD_TIMESTAMP = 1724829578 ; - BUILD_VERSION = "ef4e54b" ; + BUILD_TIMESTAMP = 1724911785 ; + BUILD_VERSION = "8ea7c0f" ; I18N = loadI18n(); PLUGINS_ENV = {}; USER_CONFIG = createAgentUserConfig(); @@ -1427,7 +1427,7 @@ class APIClientBase { formData.append(key, JSON.stringify(value)); } } - return fetch(`${this.baseURL}bot${this.token}/${method}`, { + return fetch(`${this.baseURL}/bot${this.token}/${method}`, { method: "POST", body: formData }); diff --git a/dist/timestamp b/dist/timestamp index 2d3f5c29..a4606dea 100644 --- a/dist/timestamp +++ b/dist/timestamp @@ -1 +1 @@ -1724829578 \ No newline at end of file +1724911785 \ No newline at end of file diff --git a/package.json b/package.json index 9ba00f6e..87148e50 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "chatgpt-telegram-workers", "type": "module", - "version": "1.9.2", + "version": "1.9.3", "description": "The easiest and quickest way to deploy your own ChatGPT Telegram bot is to use a single file and simply copy and paste it. There is no need for any dependencies, local development environment configuration, domain names, or servers.", "author": "TBXark", "license": "MIT",