mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-04-11 14:24:26 +00:00
feat(app): rename to 'vane'
This commit is contained in:
@@ -90,7 +90,7 @@ const weatherWidget: Widget = {
|
||||
|
||||
const locationRes = await fetch(openStreetMapUrl, {
|
||||
headers: {
|
||||
'User-Agent': 'Perplexica',
|
||||
'User-Agent': 'Vane',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
@@ -109,7 +109,7 @@ const weatherWidget: Widget = {
|
||||
`https://api.open-meteo.com/v1/forecast?latitude=${location.lat}&longitude=${location.lon}¤t=temperature_2m,relative_humidity_2m,apparent_temperature,is_day,precipitation,rain,showers,snowfall,weather_code,cloud_cover,pressure_msl,surface_pressure,wind_speed_10m,wind_direction_10m,wind_gusts_10m&hourly=temperature_2m,precipitation_probability,precipitation,weather_code&daily=weather_code,temperature_2m_max,temperature_2m_min,precipitation_sum,precipitation_probability_max&timezone=auto&forecast_days=7`,
|
||||
{
|
||||
headers: {
|
||||
'User-Agent': 'Perplexica',
|
||||
'User-Agent': 'Vane',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
},
|
||||
@@ -143,7 +143,7 @@ const weatherWidget: Widget = {
|
||||
`https://api.open-meteo.com/v1/forecast?latitude=${params.lat}&longitude=${params.lon}¤t=temperature_2m,relative_humidity_2m,apparent_temperature,is_day,precipitation,rain,showers,snowfall,weather_code,cloud_cover,pressure_msl,surface_pressure,wind_speed_10m,wind_direction_10m,wind_gusts_10m&hourly=temperature_2m,precipitation_probability,precipitation,weather_code&daily=weather_code,temperature_2m_max,temperature_2m_min,precipitation_sum,precipitation_probability_max&timezone=auto&forecast_days=7`,
|
||||
{
|
||||
headers: {
|
||||
'User-Agent': 'Perplexica',
|
||||
'User-Agent': 'Vane',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
},
|
||||
@@ -152,7 +152,7 @@ const weatherWidget: Widget = {
|
||||
`https://nominatim.openstreetmap.org/reverse?lat=${params.lat}&lon=${params.lon}&format=json`,
|
||||
{
|
||||
headers: {
|
||||
'User-Agent': 'Perplexica',
|
||||
'User-Agent': 'Vane',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user