@hlfan commented on this pull request.
> @@ -68,7 +68,7 @@ export default function (map) {
$("#maxlat").val(ne.lat);
$("#export_overpass").attr("href",
-
`https://overpass-api.de/api/map?bbox=${sw.lng},${sw.lat},${ne.lng},${ne.lat}`);
+ `${OSM.OVERPASS_URL.replace(/\/interpreter$/,
"/map")}?bbox=${sw.lng},${sw.lat},${ne.lng},${ne.lat}`);
I think with #7142 we can change this update to not require the path in JS at
all:
```javascript
$("#export_overpass")[0].search =
`?bbox=${sw.lng},${sw.lat},${ne.lng},${ne.lat}`;
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7208#pullrequestreview-4631632518
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/7208/review/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev