fix domain
This commit is contained in:
parent
c6321660e4
commit
6c50042361
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ export default function Defail(){
|
|||
formdata.append('price', price)
|
||||
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',
|
||||
body: formdata,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export default function Home(){
|
|||
useEffect(()=>{
|
||||
const fetchData = async () => {
|
||||
try{
|
||||
const response = await fetch('https://backend-service.docker.orb.local/list')
|
||||
const response = await fetch('http://localhost:12001/list')
|
||||
if(!response.ok){
|
||||
throw new Error('Network error')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue