Refactor stream status fetch to use local API proxy; add /api/stream-status route; update Stripe config references; modify checkout to use proPriceId; adjust fetch URLs in landing page.

This commit is contained in:
Nikita
2025-12-24 18:18:19 -08:00
parent 157f9a69d8
commit 2d3d7e0185
7 changed files with 202 additions and 190 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ function LandingPage() {
useEffect(() => {
const checkLiveStatus = async () => {
try {
const response = await fetch("https://nikiv.dev/api/stream-status")
const response = await fetch("/api/stream-status")
if (response.ok) {
const data = await response.json()
setIsLive(Boolean(data.isLive))