修改后端api配置
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 41s

This commit is contained in:
Song367 2025-09-28 10:42:19 +08:00
parent c5ff7bf59c
commit fb96576ebf

View File

@ -383,7 +383,7 @@
async function getToken() { async function getToken() {
try { try {
const response = await fetch('https://srtc.yantootech.com/token', { const response = await fetch('https://14.103.114.237/gongzheng-backend/token', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
@ -529,7 +529,7 @@
} }
} }
const response = await fetch('https://srtc.yantootech.com/chat', { const response = await fetch('https://14.103.114.237/gongzheng-backend/chat', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',