using the new endpoint chatgpt.com

This commit is contained in:
mic 2024-05-17 19:00:38 +02:00
parent f681792cd0
commit f66055b0c5
2 changed files with 2 additions and 2 deletions

View file

@ -254,7 +254,7 @@ function operation_done(){
}
function checkLoggedIn(){
return !window.location.href.startsWith('https://chat.openai.com/auth/');
return !window.location.href.startsWith('https://chatgpt.com/auth/');
}
// Nello script di contenuto

View file

@ -132,7 +132,7 @@ async function openChatGPT(promptText, action, curr_tabId) {
return;
}
let newWindow = await browser.windows.create({
url: "https://chat.openai.com",
url: "https://chatgpt.com",
type: "popup",
width: prefs.chatgpt_win_width,
height: prefs.chatgpt_win_height