Update src/index.ts
Browse files- src/index.ts +2 -2
src/index.ts
CHANGED
@@ -69,8 +69,8 @@ async function loadData() {
|
|
69 |
|
70 |
await loadData();
|
71 |
|
72 |
-
// Refresh the data every
|
73 |
-
setInterval(loadData,
|
74 |
|
75 |
// --- CORS Headers ---
|
76 |
const corsHeaders: Record<string, string> = {
|
|
|
69 |
|
70 |
await loadData();
|
71 |
|
72 |
+
// Refresh the data every 30 minutes
|
73 |
+
setInterval(loadData, 60 * 60 * 500);
|
74 |
|
75 |
// --- CORS Headers ---
|
76 |
const corsHeaders: Record<string, string> = {
|