From 10855871f8405bdb739117d848b0e6ff49e34926 Mon Sep 17 00:00:00 2001 From: Denis Manherz Date: Fri, 18 Aug 2023 22:42:17 +0200 Subject: [PATCH] Update --- src/SolarSystemMain.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SolarSystemMain.jsx b/src/SolarSystemMain.jsx index 959d90e..fa9b595 100644 --- a/src/SolarSystemMain.jsx +++ b/src/SolarSystemMain.jsx @@ -24,7 +24,7 @@ const SolarSystemScene = () => { useLayoutEffect(() => { const fetchPlanetInfo = async () => { - fetch(`http://127.0.0.1:8000/planetInfo`).then((response) => { + fetch(`http://192.168.1.136:8000/planetInfo`).then((response) => { if (!response.ok) { throw new Error( `This is an HTTP error: The status is ${response.status}` @@ -46,7 +46,7 @@ const SolarSystemScene = () => { }; fetchPlanetInfo(); const fetchLinePos = async () => { - fetch(`http://127.0.0.1:8000/duration/line`).then((response) => { + fetch(`http://192.168.1.136:8000/duration/line`).then((response) => { if (!response.ok) { throw new Error( `This is an HTTP error: The status is ${response.status}`