mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user