Skip to content

Commit cd43f6b

Browse files
committed
fix: incorrect links
1 parent 33399b1 commit cd43f6b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/backend/src/infrastructure/weatherAPI.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ const fetchWeatherData = (location) => {
1010

1111
const fetchWeatherImage = (location) => {
1212
const predefinedImages = {
13-
Paris: `${BASE_ASSET_URL}/thunder.png`,
14-
London: `${BASE_ASSET_URL}/rain.png`,
15-
Berlin: `${BASE_ASSET_URL}/sunny.png`,
13+
Paris: `${BASE_ASSET_URL}/thunder.jpeg`,
14+
London: `${BASE_ASSET_URL}/rain.jpeg`,
15+
Berlin: `${BASE_ASSET_URL}/sunny.jpeg`,
1616
};
1717

1818
if (predefinedImages[location]) {
@@ -25,8 +25,9 @@ const fetchWeatherImage = (location) => {
2525

2626
const imagePool = [
2727
`${BASE_ASSET_URL}/rainy.jpeg`,
28-
`${BASE_ASSET_URL}/sunny.png`,
29-
`${BASE_ASSET_URL}/cloudy.png`,
28+
`${BASE_ASSET_URL}/sunny.jpeg`,
29+
`${BASE_ASSET_URL}/cloudy.jpeg`,
30+
`${BASE_ASSET_URL}/thunder.jpeg`,
3031
];
3132

3233
const randomImage = imagePool[Math.floor(Math.random() * imagePool.length)];

0 commit comments

Comments
 (0)