style: format extracted local services

This commit is contained in:
Sameh Khamis committed 2026-09-12 13:01:49 -07:00
1 parent 233285fe12
commit 5223b6df5b
33 files changed
+1785 -830

No files matched your search

+9 -5
View File
@@ -18,12 +18,16 @@ function fetchRegionalPlace(point) {
addressdetails: '1',
'accept-language': 'en',
});
const payload = await fetchRegionalJson(`https://nominatim.openstreetmap.org/reverse?${params}`, {
headers: {
'User-Agent': 'GodsEyeView/0.1 (+https://github.com/bilawalsidhu/gods-eye-view)',
Referer: 'https://github.com/bilawalsidhu/gods-eye-view',
const payload = await fetchRegionalJson(
`https://nominatim.openstreetmap.org/reverse?${params}`,
{
headers: {
'User-Agent':
'GodsEyeView/0.1 (+https://github.com/bilawalsidhu/gods-eye-view)',
Referer: 'https://github.com/bilawalsidhu/gods-eye-view',
},
},
});
);
return normalizeRegionalPlace(payload);
});
_nominatimQueue = task.catch(() => null);