Change "chat.openai.com" to "chatgpt.com"

This commit is contained in:
Anan
2024-05-08 17:24:52 +08:00
committed by josc146
parent e2fcabba74
commit b494193eb5
20 changed files with 87 additions and 87 deletions
+5 -5
View File
@@ -145,8 +145,8 @@ function ConversationCard(props) {
switch (msg.error) {
case 'UNAUTHORIZED':
updateAnswer(
`${t('UNAUTHORIZED')}<br>${t('Please login at https://chat.openai.com first')}${
isSafari() ? `<br>${t('Then open https://chat.openai.com/api/auth/session')}` : ''
`${t('UNAUTHORIZED')}<br>${t('Please login at https://chatgpt.com first')}${
isSafari() ? `<br>${t('Then open https://chatgpt.com/api/auth/session')}` : ''
}<br>${t('And refresh this page or type you question again')}` +
`<br><br>${t(
'Consider creating an api key at https://platform.openai.com/account/api-keys',
@@ -159,8 +159,8 @@ function ConversationCard(props) {
updateAnswer(
`${t('OpenAI Security Check Required')}<br>${
isSafari()
? t('Please open https://chat.openai.com/api/auth/session')
: t('Please open https://chat.openai.com')
? t('Please open https://chatgpt.com/api/auth/session')
: t('Please open https://chatgpt.com')
}<br>${t('And refresh this page or type you question again')}` +
`<br><br>${t(
'Consider creating an api key at https://platform.openai.com/account/api-keys',
@@ -388,7 +388,7 @@ function ConversationCard(props) {
{!config.disableWebModeHistory && session && session.conversationId && (
<a
title={t('Continue on official website')}
href={'https://chat.openai.com/chat/' + session.conversationId}
href={'https://chatgpt.com/chat/' + session.conversationId}
target="_blank"
rel="nofollow noopener noreferrer"
className="gpt-util-icon"
+1 -1
View File
@@ -8,7 +8,7 @@ export function Hyperlink({ href, children }) {
rel: 'nofollow noopener noreferrer',
}
return href.includes('chat.openai.com') ? (
return href.includes('chatgpt.com') ? (
<span
{...linkProperties}
onClick={() => {