diff --git a/src/assets/scripts/bottles.jsx b/src/assets/scripts/bottles.jsx index 869be50..121805f 100644 --- a/src/assets/scripts/bottles.jsx +++ b/src/assets/scripts/bottles.jsx @@ -3,7 +3,7 @@ function Bottles() { const [isLoading, setLoading] = React.useState(true); React.useEffect(() => { - fetch("https://api.tea.xyz/v0/bottles") + fetch("https://api.dev.tea.xyz/v0/bottles") .then((res) => res.json()) .then((res) => { setBottles(res); diff --git a/src/assets/scripts/package-bottles.jsx b/src/assets/scripts/package-bottles.jsx index 1449643..3eb50d4 100644 --- a/src/assets/scripts/package-bottles.jsx +++ b/src/assets/scripts/package-bottles.jsx @@ -3,7 +3,7 @@ function PackageBottles() { const [isLoading, setIsLoading] = React.useState(true); React.useEffect(() => { - const url = window.location.pathname.replace('/+', 'https://api.tea.xyz/v0/bottles/'); + const url = window.location.pathname.replace('/+', 'https://api.dev.tea.xyz/v0/bottles/'); fetch(url) .then((res) => res.json()) .then((res) => {