diff --git a/src/pages/Code/index.tsx b/src/pages/Code/index.tsx index 5ee16f7..24ec98d 100644 --- a/src/pages/Code/index.tsx +++ b/src/pages/Code/index.tsx @@ -70,7 +70,7 @@ const CodeAnalysisPage: React.FC = () => { } setLoading(true); try { - const response = await fetch('http://8.218.106.190:3000/v1/chat/completions', { + const response = await fetch('https://openai.933999.xyz/v1/chat/completions', { method: 'POST', headers: { 'Content-Type': 'application/json', diff --git a/src/pages/Forecast/index.tsx b/src/pages/Forecast/index.tsx index 73d71d1..6f30cc3 100644 --- a/src/pages/Forecast/index.tsx +++ b/src/pages/Forecast/index.tsx @@ -119,7 +119,7 @@ const AnalysisCenter: React.FC = () => { setLoading(true); try { - const response = await fetch('http://8.218.106.190:3000/v1/chat/completions', { + const response = await fetch('https://openai.933999.xyz/v1/chat/completions', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -201,7 +201,7 @@ const AnalysisCenter: React.FC = () => { textContent = jsonData.map(row => row.join('\t')).join('\n'); } - const response = await fetch('http://8.218.106.190:3000/v1/chat/completions', { + const response = await fetch('https://openai.933999.xyz/v1/chat/completions', { method: 'POST', headers: { 'Content-Type': 'application/json', diff --git a/src/pages/Report/index.tsx b/src/pages/Report/index.tsx index ffae76b..e15ec07 100644 --- a/src/pages/Report/index.tsx +++ b/src/pages/Report/index.tsx @@ -98,7 +98,7 @@ const ReportPage: React.FC = () => { const analyzeData = async (content: any) => { try { - const response = await fetch('http://8.218.106.190:3000/v1/chat/completions', { + const response = await fetch('https://openai.933999.xyz/v1/chat/completions', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -189,7 +189,7 @@ const handleDownload = async () => { const generateReport = async () => { setLoading(true); try { - const response = await fetch('http://8.218.106.190:3000/v1/chat/completions', { + const response = await fetch('https://openai.933999.xyz/v1/chat/completions', { method: 'POST', headers: { 'Content-Type': 'application/json',