We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b3cd46 commit 47291fdCopy full SHA for 47291fd
components/tshirt-availability.tsx
@@ -3,7 +3,7 @@ import { useState, useEffect, useRef } from "react"
3
import { RefreshCw, AlertTriangle, Loader2, Lock } from "lucide-react"
4
import type { ApiResponse, SizeAvailability } from "@/types"
5
6
-const API_URL = "/api/tshirt-data"
+const API_URL = "https://tee-backend-06or.onrender.com/api/tshirt-data"
7
const LOW_STOCK_THRESHOLD = 5
8
const FETCH_INTERVAL = 25000 // 25 Seconds
9
const ENABLE_FETCHING = true
0 commit comments