Skip to content

Commit

Permalink
Updated raw.githubusercontent.com config.assetHostURL to cdn.jsdeli…
Browse files Browse the repository at this point in the history
…vr.net one ↞ [auto-sync from `KudoAI/googlegpt`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 1, 2024
1 parent bd628be commit b3dbbc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chatgpt/googlegpt/googlegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
// @description:zu Faka amaphawu ase-ChatGPT kuvaliwe i-Google Search
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.5.1
// @version 2024.5.1.1
// @license MIT
// @icon https://media.googlegpt.io/images/icons/googlegpt/black/icon48.png
// @icon64 https://media.googlegpt.io/images/icons/googlegpt/black/icon64.png
Expand Down Expand Up @@ -361,7 +361,7 @@
// @match *://*.google.co.zw/search*
// @match *://*.google.cat/search*
// @include https://auth0.openai.com
// @connect raw.githubusercontent.com
// @connect cdn.jsdelivr.net
// @connect greasyfork.org
// @connect chat.openai.com
// @connect api.openai.com
Expand Down Expand Up @@ -1515,7 +1515,7 @@
.replace(/(\d+)-?([a-zA-Z-]*)$/, (_, id, name) => `${ id }/${ !name ? 'script' : name }.meta.js`)
config.supportURL = config.gitHubURL + '/issues/new'
config.feedbackURL = config.gitHubURL + '/discussions/new/choose'
config.assetHostURL = config.gitHubURL.replace('github.com', 'raw.githubusercontent.com') + '/main/'
config.assetHostURL = config.gitHubURL.replace('github.com', 'cdn.jsdelivr.net/gh') + '/'
config.userLocale = window.location.hostname.endsWith('.com') ? 'us'
: window.location.hostname.split('.').pop()
loadSetting('autoGetDisabled', 'prefixEnabled', 'proxyAPIenabled', 'replyLanguage',
Expand Down

0 comments on commit b3dbbc9

Please sign in to comment.