Skip to content

Commit 63331a0

Browse files
authored
Updated URL to auto-visit on install
1 parent caf9f7d commit 63331a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starters/chrome/extension/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const allowedHosts = ['chatgpt.com', 'chat.openai.com'];
33
// Add install/update actions
44
chrome.runtime.onInstalled.addListener((details) => {
55
chrome.storage.local.set({ 'chatgptJS_extensionDisabled': false }); // auto-enable
6-
if (details.reason == 'install') chrome.tabs.create({ url: 'https://chat.openai.com/' }); // open ChatGPT
6+
if (details.reason == 'install') chrome.tabs.create({ url: 'https://chatgpt.com/' }); // open ChatGPT
77
});
88

99
// Sync extension state/settings when ChatGPT tab active

0 commit comments

Comments
 (0)