fix: utilize WEATHER_API_URL in WeatherService for dynamic API endpoint

This commit is contained in:
faris Aljohari
2025-06-04 01:32:01 -06:00
parent ea021ad228
commit 43dfaaa90d
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -4,5 +4,6 @@ export default registerAs(
'openweather-config',
(): Record<string, any> => ({
OPEN_WEATHER_MAP_API_KEY: process.env.OPEN_WEATHER_MAP_API_KEY,
WEATHER_API_URL: process.env.WEATHER_API_URL,
}),
);