fix: update weather API URL to use HTTPS for improved security

This commit is contained in:
2025-08-03 20:36:04 +02:00
parent 574f094bac
commit d84d876735

View File

@@ -3,7 +3,7 @@ import { myToast } from "./toastify";
export const fetchWeather = async (city: string, units: string) => {
try {
const response = await fetch(
`http://backend.weather.the1s.de:7001/api/fetchWeather?city=${encodeURIComponent(
`https://backend.weather.the1s.de:7001/api/fetchWeather?city=${encodeURIComponent(
city
)}&units=${encodeURIComponent(units)}`,
{