Skip to content

Commit 2904ed7

Browse files
committed
Split app.urls.resourceHost init into 2 lines to not exceed 120 chars ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/autoclear-chatgpt-history]
1 parent 920a088 commit 2904ed7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 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.1.23
228+
// @version 2025.1.26
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
@@ -287,7 +287,8 @@
287287
urls: { update: 'https://gm.autoclearchatgpt.com' },
288288
latestResourceCommitHash: '8a92baa' // for cached app.json + messages.json + navicon in toggles.sidebar.insert()
289289
}
290-
app.urls.resourceHost = `https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history@${app.latestResourceCommitHash}`
290+
app.urls.resourceHost = 'https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history'
291+
+ `@${app.latestResourceCommitHash}`
291292
const remoteAppData = await new Promise(resolve => xhr({
292293
method: 'GET', url: `${app.urls.resourceHost}/assets/data/app.json`,
293294
onload: resp => resolve(JSON.parse(resp.responseText))

0 commit comments

Comments
 (0)