From f70629fa55468078b2993e724446def10c37a037 Mon Sep 17 00:00:00 2001 From: "theis.gaedigk" Date: Sun, 3 Aug 2025 20:42:18 +0200 Subject: [PATCH] fix: remove port from weather API URL for consistency --- frontend/src/utils/apiFunc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/apiFunc.ts b/frontend/src/utils/apiFunc.ts index 91293a0..6cde44b 100644 --- a/frontend/src/utils/apiFunc.ts +++ b/frontend/src/utils/apiFunc.ts @@ -3,7 +3,7 @@ import { myToast } from "./toastify"; export const fetchWeather = async (city: string, units: string) => { try { const response = await fetch( - `https://backend.weather.the1s.de:7001/api/fetchWeather?city=${encodeURIComponent( + `https://backend.weather.the1s.de/api/fetchWeather?city=${encodeURIComponent( city )}&units=${encodeURIComponent(units)}`, {