mirror of
https://github.com/ivabus/www
synced 2024-11-24 09:35:05 +03:00
test dev
This commit is contained in:
parent
f8e81d1053
commit
22c760377a
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue