--- a/src/main/resources/scripts/map.js Fri Aug 26 15:49:32 2011 -0400
+++ b/src/main/resources/scripts/map.js Fri Aug 26 16:01:59 2011 -0400
@@ -73,7 +73,7 @@
var workouts, graph;
function getWorkouts() {
- workouts = Util.requestJSON('http://localhost:2719/user/dummy@example.com/workouts');
+ workouts = Util.requestJSON('/user/dummy@example.com/workouts');
return workouts;
//return Util.requestJSON('http://localhost:2719/user/jdoe/workouts');
//return [ { "activity": "http://dbpedia.org/resource/Running", "date": 1312971214000, "duration": 6652, "distance": 12.000000, "json": "http://localhost:2719/user/dummy@example.com/workout/4e56a110ccf2406c3515bccb.json", "gpx": "http://localhost:2719/user/dummy@example.com/workout/4e56a110ccf2406c3515bccb.gpx" }, { "activity": "http://dbpedia.org/resource/Running", "date": 1309083594000, "duration": 14703, "distance": 12.000000, "json": "http://localhost:2719/user/dummy@example.com/workout/4e56a250ccf23d3128a27d0f.json", "gpx": "http://localhost:2719/user/dummy@example.com/workout/4e56a250ccf23d3128a27d0f.gpx" } ];