diff --git a/src/assets/scripts/bottles.jsx b/src/assets/scripts/bottles.jsx index ef32d1a..869be50 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://app.tea.xyz/api/bottles") + fetch("https://api.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 b3a36e7..1449643 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://app.tea.xyz/api/bottles/'); + const url = window.location.pathname.replace('/+', 'https://api.tea.xyz/v0/bottles/'); fetch(url) .then((res) => res.json()) .then((res) => {