diff --git a/web/src/services/gtfs_pull.rs b/web/src/services/gtfs_pull.rs index b120ac8..bfebaea 100644 --- a/web/src/services/gtfs_pull.rs +++ b/web/src/services/gtfs_pull.rs @@ -554,7 +554,7 @@ impl GtfsPullService { .routes .get(&make_global_id!(prefix, trip.1.route_id)) .clone() { - Some(x) => x, + Some(x) => x.clone(), None => { warn!("No route found for trip {} (was looking for route {})", trip.1.id, trip.1.route_id); continue diff --git a/web/templates/map.html b/web/templates/map.html index d8b5380..003580b 100644 --- a/web/templates/map.html +++ b/web/templates/map.html @@ -1,36 +1,38 @@ + crossorigin=""> + crossorigin="">