Removed host from URL
This commit is contained in:
		
							
								
								
									
										2
									
								
								App.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								App.js
									
									
									
									
									
								
							| @@ -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 | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user