add https
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
Song367 2025-06-19 19:10:11 +08:00
parent c64023a36f
commit c177a4b989

View File

@ -210,7 +210,7 @@
async function getToken() { async function getToken() {
try { try {
const response = await fetch('http://14.103.170.252:6211/token', { const response = await fetch('https://srtc.yantootech.com/token', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
@ -338,7 +338,7 @@
} }
} }
const response = await fetch('http://14.103.170.252:6211/chat', { const response = await fetch('https://srtc.yantootech.com/chat', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',