Skip to content

Commit

Permalink
Renamed app.urls.cjsMediaHost to cjsAssetHost ↞ [auto-sync from h…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 8, 2025
1 parent 2ee8d31 commit e96b9f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions starters/chrome/extension/popup/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
const cjsDiv = dom.create.elem('div', { class: 'chatgpt-js' })
const cjsLogo = dom.create.elem('img', {
title: 'Powered by chatgpt.js',
src: `${app.urls.cjsMediaHost}/images/badges/powered-by-chatgpt.js-faded.png?b2a1975` })
src: `${app.urls.cjsAssetHost}/images/badges/powered-by-chatgpt.js-faded.png?b2a1975` })
cjsLogo.onmouseover = cjsLogo.onmouseout = event => cjsLogo.src = `${
app.urls.cjsMediaHost}/images/badges/powered-by-chatgpt.js${
app.urls.cjsAssetHost}/images/badges/powered-by-chatgpt.js${
event.type == 'mouseover' ? '' : '-faded' }.png?b2a1975`
cjsLogo.onclick = () => chrome.tabs.create({ url: app.urls.chatgptJS })
cjsDiv.append(cjsLogo) ; footer.append(cjsDiv)
Expand Down
2 changes: 1 addition & 1 deletion starters/chrome/extension/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const app = {
urls: {
assetHost: 'https://cdn.jsdelivr.net/gh/KudoAI/chatgpt.js-chrome-starter',
chatgptJS: 'https://chatgptjs.org',
cjsMediaHost: 'https://assets.chatgptjs.org',
cjsAssetHost: 'https://assets.chatgptjs.org',
contributors: 'https://docs.chatgptjs.org/#-contributors',
gitHub: 'https://github.com/KudoAI/chatgpt.js-chrome-starter',
relatedExtensions: 'https://aiwebextensions.com',
Expand Down

0 comments on commit e96b9f1

Please sign in to comment.