File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
packages/backend/src/infrastructure Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ const fetchWeatherData = (location) => {
10
10
11
11
const fetchWeatherImage = ( location ) => {
12
12
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 ` ,
16
16
} ;
17
17
18
18
if ( predefinedImages [ location ] ) {
@@ -25,8 +25,9 @@ const fetchWeatherImage = (location) => {
25
25
26
26
const imagePool = [
27
27
`${ 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` ,
30
31
] ;
31
32
32
33
const randomImage = imagePool [ Math . floor ( Math . random ( ) * imagePool . length ) ] ;
You can’t perform that action at this time.
0 commit comments