chore: purge all rocket.new references from source
- Replace img.rocket.new mock URLs in authors/[slug] + FeaturedBento with /assets/images/article-placeholder.svg (live DB data drives these pages now; the static maps are fallback only). - Replace broadcastb5322.builtwithrocket.new with broadcastbeat.com in admin API routes, news detail, forum layout, and the 4 Supabase edge functions that build outbound email links. - Swap rocket-hosted JSON-LD logo URL in root layout for the local /assets/images/logo.png we already ship. - Drop img.rocket.new from the Next.js image-hosts allowlist; add supabase.onsethost.com so storage proxy URLs can render. The DB has had zero rocket.new image refs for weeks; this finishes the job in the codebase so no page on broadcastbeat.com can render a rocket-hosted asset anymore.
This commit is contained in:
@@ -226,7 +226,7 @@ export default function NewsArticleDetailClient({
|
||||
setEmailSending(true);
|
||||
setEmailStatus("idle");
|
||||
try {
|
||||
const articleUrl = `${process.env.NEXT_PUBLIC_SITE_URL || "https://broadcastb5322.builtwithrocket.new"}/news/${article.slug}`;
|
||||
const articleUrl = `${process.env.NEXT_PUBLIC_SITE_URL || "https://broadcastbeat.com"}/news/${article.slug}`;
|
||||
const res = await fetch("/api/news/share-email", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
@@ -262,7 +262,7 @@ export default function NewsArticleDetailClient({
|
||||
const articleUrl =
|
||||
typeof window !== "undefined"
|
||||
? window.location.href
|
||||
: `https://broadcastb5322.builtwithrocket.new/news/${article.slug}`;
|
||||
: `https://broadcastbeat.com/news/${article.slug}`;
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-background">
|
||||
|
||||
Reference in New Issue
Block a user