Removed host from URL

This commit is contained in:
Mahesh Asolkar 2025-03-22 19:01:07 -07:00
parent e253fd57c3
commit 924752d772
2 changed files with 3 additions and 3 deletions

2
App.js
View File

@ -1,5 +1,5 @@
document.addEventListener('DOMContentLoaded', function() {
fetch('http://127.0.0.1:9898/routine.json')
fetch('routine.json')
.then(response => response.json())
.then(workout_json => {
// Use the JSON workout_json here

View File

@ -7,8 +7,8 @@
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="http://127.0.0.1:9898/Workout.js"></script>
<script type="text/javascript" src="http://127.0.0.1:9898/App.js"></script>
<script type="text/javascript" src="Workout.js"></script>
<script type="text/javascript" src="App.js"></script>
</head>
<body>