Skip to content

Commit 9c595c1

Browse files
committed
Moved app.latestResourceCommitHash to .commitHashes.app ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-infinity]
1 parent eca80af commit 9c595c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chatgpt/chatgpt-infinity/chatgpt-infinity.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
// @description:zh-TW 從無所不知的 ChatGPT 生成無窮無盡的答案 (用任何語言!)
200200
// @author Adam Lui
201201
// @namespace https://github.com/adamlui
202-
// @version 2025.5.14.9
202+
// @version 2025.5.16
203203
// @license MIT
204204
// @icon https://assets.chatgptinfinity.com/images/icons/infinity-symbol/circled/with-robot/icon48.png?v=8df6f33
205205
// @icon64 https://assets.chatgptinfinity.com/images/icons/infinity-symbol/circled/with-robot/icon64.png?v=8df6f33
@@ -278,9 +278,9 @@
278278
// Init APP data
279279
window.app = {
280280
version: GM_info.script.version, chatgptjsVer: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
281-
latestResourceCommitHash: '80a0948' // for cached <app|messages>.json
281+
commitHashes: { app: '80a0948' } // for cached <app|messages>.json
282282
}
283-
app.urls = { resourceHost: `https://cdn.jsdelivr.net/gh/adamlui/chatgpt-infinity@${app.latestResourceCommitHash}` }
283+
app.urls = { resourceHost: `https://cdn.jsdelivr.net/gh/adamlui/chatgpt-infinity@${app.commitHashes.app}` }
284284
const remoteData = {
285285
app: await new Promise(resolve => xhr({
286286
method: 'GET', url: `${app.urls.resourceHost}/assets/data/app.json`,

0 commit comments

Comments
 (0)