Skip to content

Commit 8b3cd46

Browse files
authored
Update tshirt-availability.tsx
1 parent 39a5ad1 commit 8b3cd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/tshirt-availability.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useState, useEffect, useRef } from "react"
33
import { RefreshCw, AlertTriangle, Loader2, Lock } from "lucide-react"
44
import type { ApiResponse, SizeAvailability } from "@/types"
55

6-
const API_URL = "https://script.google.com/macros/s/AKfycbz8j2mEAYbOlsLHEIFwunY1ygxR0xqJeL0EPHdUYUpG_RcJYtXKe4_MyaOyBhB5LJFE/exec"
6+
const API_URL = "/api/tshirt-data"
77
const LOW_STOCK_THRESHOLD = 5
88
const FETCH_INTERVAL = 25000 // 25 Seconds
99
const ENABLE_FETCHING = true

0 commit comments

Comments
 (0)