mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
Move the changelog entry into changelog.d and watch the Google geocode proxy in QA
Main now takes release notes as one fragment per pull request (#787). The browser asks Google through /api/google/geocode, so the no-geocoder-request check now watches that route.
This commit is contained in:
1 parent
ac258e98d9
commit
f0a04fbbaa
3 files changed
+6
-4
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
- Location search accepts two-dimensional WGS84 `geo:` URIs offline, with
|
||||||
|
the existing coordinate framing and label. Unsupported URI fields are passed
|
||||||
|
to the remaining search providers unchanged (cj-vana, #1071).
|
||||||
@@ -89,9 +89,8 @@ try {
|
|||||||
const url = new URL(request.url());
|
const url = new URL(request.url());
|
||||||
if (
|
if (
|
||||||
url.pathname === '/api/geocode' ||
|
url.pathname === '/api/geocode' ||
|
||||||
(url.hostname === 'photon.komoot.io' && url.pathname === '/api/') ||
|
url.pathname === '/api/google/geocode' ||
|
||||||
(url.hostname === 'maps.googleapis.com' &&
|
(url.hostname === 'photon.komoot.io' && url.pathname === '/api/')
|
||||||
url.pathname === '/maps/api/geocode/json')
|
|
||||||
)
|
)
|
||||||
geocoderRequests.push(request.url());
|
geocoderRequests.push(request.url());
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ function boundedBox(lat, lon, halfSpan) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Answer a decimal-degree query without asking anyone.
|
* Answer a decimal-degree or geo-URI query without asking anyone.
|
||||||
*
|
*
|
||||||
* It sits ahead of the network geocoders, so a coordinate costs no request and
|
* It sits ahead of the network geocoders, so a coordinate costs no request and
|
||||||
* works with no key. Anything that is not exactly a coordinate is passed on
|
* works with no key. Anything that is not exactly a coordinate is passed on
|
||||||
|
|||||||
Reference in new issue
Block a user