mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
webGeolocationUtils: correct package version
This commit is contained in:
@@ -131,7 +131,7 @@ async function _enhanceWithLocationData(data: WebGeolocation): Promise<WebGeoloc
|
||||
const response = await frontendSideFetch(`https://nominatim.openstreetmap.org/reverse?format=json&lat=${latitude}&lon=${longitude}&zoom=10&accept-language=${navigator.language || 'en'}`, {
|
||||
headers: {
|
||||
// required by Nominatim
|
||||
'User-Agent': `Big-AGI/${Release.App.versionCode}`,
|
||||
'User-Agent': `Big-AGI/${Release.buildInfo('frontend').pkgVersion}`,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user