diff --git a/index.html b/index.html
index bc75655..e76db21 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
- Why no working
+ Sol
{
const fetchData = async () => {
fetch(
- `http://127.0.0.1:8000/duration` + `?date=${dateTime.current}`
+ `http://192.168.1.136:8000/duration` + `?date=${dateTime.current}`
).then((response) => {
if (!response.ok) {
throw new Error(
@@ -175,7 +175,7 @@ export const SharedPlanetState = ({ planetData, linePos }) => {
const getRealTimePos = () => {
const fetchData = async () => {
- fetch(`http://127.0.0.1:8000/now`).then((response) => {
+ fetch(`http://192.168.1.136:8000/now`).then((response) => {
if (!response.ok) {
throw new Error(
`This is an HTTP error: The status is ${response.status}`
diff --git a/src/planets/path.jsx b/src/planets/path.jsx
index bfeba0c..26ca941 100644
--- a/src/planets/path.jsx
+++ b/src/planets/path.jsx
@@ -82,7 +82,7 @@ export const PlanetPath = ({
if(first.current){
const fetchLinePos = async () => {
fetch(
- `http://127.0.0.1:8000/duration/line?name=${planet.name}&id=${planet.id}&LOY=${planet.year}`
+ `http://192.168.1.136:8000/duration/line?name=${planet.name}&id=${planet.id}&LOY=${planet.year}`
).then((response) => {
if (!response.ok) {
throw new Error(