Fix Seeder Image, Menu Landing Page - Desa

This commit is contained in:
2026-01-30 15:55:05 +08:00
parent c2ad515366
commit f0425cfc47
61 changed files with 4533 additions and 5162 deletions

View File

@@ -3,6 +3,9 @@ export default async function fetchWithRetry(
retries = 3,
timeoutMs = 20000
) {
if (!url || url.trim() === "") {
throw new Error("fetchWithRetry called with empty URL");
}
for (let attempt = 1; attempt <= retries; attempt++) {
const controller = new AbortController();
const timeout = setTimeout(() => controller.abort(), timeoutMs);