KOL count: 29 → 25 across marketing/SEO copy
Backend KOL_FEEDS trimmed from 29 to 25 (dead feeds removed).
Sync all hardcoded count mentions:
- layout.tsx JSON-LD, page.tsx (metric + comparison + copy)
- kol/page.tsx, KolPageClient.tsx ("and 26 more" → "and 22 more")
- glossary/page.tsx, opengraph-image.tsx
- public/llms.txt, llms-full.txt
- drop removed KOLs (Dragonfly Capital, Nic Carter) from named lists
Bundles other in-flight frontend work already in the working tree.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+9
-1
@@ -27,7 +27,15 @@ interface WsContextValue {
|
||||
|
||||
const WsContext = createContext<WsContextValue | null>(null)
|
||||
|
||||
const WS_URL = process.env.NEXT_PUBLIC_WS_URL || 'ws://localhost:8000'
|
||||
// In production, NEXT_PUBLIC_WS_URL must be set (e.g. wss://api.trumpsignal.com).
|
||||
// Fallback auto-upgrades ws→wss when the page is served over HTTPS to avoid
|
||||
// mixed-content blocks, and falls back to ws:// for local dev.
|
||||
const _wsEnv = process.env.NEXT_PUBLIC_WS_URL
|
||||
const WS_URL = _wsEnv || (
|
||||
typeof window !== 'undefined' && window.location.protocol === 'https:'
|
||||
? 'wss://localhost:8000'
|
||||
: 'ws://localhost:8000'
|
||||
)
|
||||
|
||||
// Exponential backoff: 2s → 4s → 8s → … capped at 60s, plus ±30% jitter
|
||||
// so a server restart doesn't get hit by all clients at the same instant.
|
||||
|
||||
Reference in New Issue
Block a user