Updated 1.7.0

This commit is contained in:
Pranshul committed 2024-10-21 19:45:17 +05:30
1 parent 366f28567f
commit f58615695d
1 file changed
+3 -3
+3 -3
View File
@@ -1040,7 +1040,7 @@ function UvIndex(uvIndexValue) {
function MoreDetails(latSum, lonSum) {
fetch(`https://api.weatherapi.com/v1/forecast.json?key=ALL_ENV&q=${latSum},${lonSum}`)
fetch(`https://api.weatherapi.com/v1/forecast.json?key=ALL_ENV_main&q=${latSum},${lonSum}`)
.then(response => response.json())
.then(data => {
@@ -1193,7 +1193,7 @@ function MoreDetails(latSum, lonSum) {
}
function astronomyData(latSum, lonSum) {
fetch(`https://api.weatherapi.com/v1/astronomy.json?key=ALL_ENV&q=${latSum},${lonSum}`)
fetch(`https://api.weatherapi.com/v1/astronomy.json?key=ALL_ENV_main&q=${latSum},${lonSum}`)
.then(response => response.json())
.then(data => {
@@ -1262,7 +1262,7 @@ function astronomyData(latSum, lonSum) {
function FetchAlert(lat, lon){
fetch(`https://api.weatherapi.com/v1/alerts.json?key=ALL_ENV&q=${lat},${lon}`)
fetch(`https://api.weatherapi.com/v1/alerts.json?key=ALL_ENV_main&q=${lat},${lon}`)
.then(response => response.json())
.then(data => {