changed protocol

This commit is contained in:
2025-08-03 20:31:13 +02:00
parent 71da186bd6
commit 574f094bac

View File

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