Spaces:
Running
Running
Fix homepage loading: increase /api/wc2026 timeout to 20s
Browse files- static/app_v2.js +1 -1
static/app_v2.js
CHANGED
|
@@ -164,7 +164,7 @@ async function loadHome(){
|
|
| 164 |
_fetchWithTimeout('/api/livescore/featured', 5000),
|
| 165 |
_fetchWithTimeout('/api/wall', 5000),
|
| 166 |
_fetchWithTimeout('/api/highlights/leagues', 10000),
|
| 167 |
-
_fetchWithTimeout('/api/wc2026',
|
| 168 |
]).then(results => results.map(r => r.status === 'fulfilled' ? r.value : null));
|
| 169 |
|
| 170 |
if(featuredData && featuredData.home){
|
|
|
|
| 164 |
_fetchWithTimeout('/api/livescore/featured', 5000),
|
| 165 |
_fetchWithTimeout('/api/wall', 5000),
|
| 166 |
_fetchWithTimeout('/api/highlights/leagues', 10000),
|
| 167 |
+
_fetchWithTimeout('/api/wc2026', 20000),
|
| 168 |
]).then(results => results.map(r => r.status === 'fulfilled' ? r.value : null));
|
| 169 |
|
| 170 |
if(featuredData && featuredData.home){
|