Skip to content

Commit a6e9275

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

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

chatgpt/autoclear-chatgpt-history/autoclear-chatgpt-history.user.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.5.14.4
228+
// @version 2025.5.16
229229
// @license MIT
230230
// @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06
231231
// @icon64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06
@@ -292,10 +292,9 @@
292292
// Init APP data
293293
window.app = {
294294
version: GM_info.script.version, chatgptjsVer: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
295-
latestResourceCommitHash: '90a3558' // for cached <app|messages>.json + navicon in toggles.sidebar.insert()
295+
commitHashes: { app: '90a3558' } // for cached <app|messages>.json + navicon in toggles.sidebar.insert()
296296
}
297-
app.urls = { resourceHost: 'https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history'
298-
+ `@${app.latestResourceCommitHash}` }
297+
app.urls = { resourceHost: `https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history@${app.commitHashes.app}` }
299298
const remoteData = {
300299
app: await new Promise(resolve => xhr({
301300
method: 'GET', url: `${app.urls.resourceHost}/assets/data/app.json`,

0 commit comments

Comments
 (0)