fix domain

This commit is contained in:
x1ulan 2025-12-17 15:34:22 +08:00
parent c6321660e4
commit 6c50042361
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ export default function Defail(){
formdata.append('price', price) formdata.append('price', price)
formdata.append('sale', sale) formdata.append('sale', sale)
const req = await fetch("https://bitmap-service.docker.orb.local/api/bitmap", { const req = await fetch("http://localhost:12002/api/bitmap", {
method: 'POST', method: 'POST',
body: formdata, body: formdata,
}) })

View file

@ -29,7 +29,7 @@ export default function Home(){
useEffect(()=>{ useEffect(()=>{
const fetchData = async () => { const fetchData = async () => {
try{ try{
const response = await fetch('https://backend-service.docker.orb.local/list') const response = await fetch('http://localhost:12001/list')
if(!response.ok){ if(!response.ok){
throw new Error('Network error') throw new Error('Network error')
} }