Skip to content

Commit

Permalink
Generalized config.assetHostURL for easier re-use ↞ [auto-sync from…
Browse files Browse the repository at this point in the history
… `adamlui/autoclear-chatgpt-history`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 1, 2024
1 parent 25f4377 commit 86cbd3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chat.openai.com
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.5.1.1
// @version 2024.5.1.2
// @license MIT
// @icon https://raw.githubusercontent.com/adamlui/userscripts/master/chatgpt/media/icons/openai-favicon48.png
// @icon64 https://raw.githubusercontent.com/adamlui/userscripts/master/chatgpt/media/icons/openai-favicon64.png
Expand Down Expand Up @@ -269,7 +269,7 @@
config.updateURL = config.greasyForkURL.replace('https://', 'https://update.')
.replace(/(\d+)-?([a-zA-Z-]*)$/, (_, id, name) => `${ id }/${ !name ? 'script' : name }.meta.js`)
config.supportURL = config.gitHubURL + '/issues/new'
config.assetHostURL = 'https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history/'
config.assetHostURL = config.gitHubURL.replace('github.com', 'cdn.jsdelivr.net/gh') + '/'
loadSetting('autoclear', 'buttonHidden', 'notifDisabled', 'toggleHidden')

// Define MESSAGES
Expand Down

0 comments on commit 86cbd3c

Please sign in to comment.