diff --git a/image-hosts.config.js b/image-hosts.config.js index 579591e..54b96ca 100644 --- a/image-hosts.config.js +++ b/image-hosts.config.js @@ -17,11 +17,11 @@ export const imageHosts = [ }, { protocol: 'https', - hostname: 'img.rocket.new', + hostname: '*.supabase.co', }, { protocol: 'https', - hostname: '*.supabase.co', + hostname: 'supabase.onsethost.com', }, { protocol: 'https', diff --git a/src/app/api/admin/articles/route.ts b/src/app/api/admin/articles/route.ts index 128ddf0..f174777 100644 --- a/src/app/api/admin/articles/route.ts +++ b/src/app/api/admin/articles/route.ts @@ -81,7 +81,7 @@ export async function POST(req: NextRequest) { // Trigger article publish notification if published immediately if (status === 'published' && data) { try { - const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastb5322.builtwithrocket.new'; + const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastbeat.com'; fetch(`${siteUrl}/api/newsletter/notify-article`, { method: 'POST', headers: { @@ -152,7 +152,7 @@ export async function PATCH(req: NextRequest) { .single(); if (articleData) { - const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastb5322.builtwithrocket.new'; + const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastbeat.com'; // Fire-and-forget: call notify-article route internally fetch(`${siteUrl}/api/newsletter/notify-article`, { method: 'POST', diff --git a/src/app/api/admin/company-coverage-reminder/route.ts b/src/app/api/admin/company-coverage-reminder/route.ts index f6e042f..8005b89 100644 --- a/src/app/api/admin/company-coverage-reminder/route.ts +++ b/src/app/api/admin/company-coverage-reminder/route.ts @@ -31,12 +31,12 @@ export async function POST(request: NextRequest) {
- Manage settings at Company Tracker + Manage settings at Company Tracker
`, diff --git a/src/app/api/admin/suspensions/route.ts b/src/app/api/admin/suspensions/route.ts index e57c8f9..68a7d73 100644 --- a/src/app/api/admin/suspensions/route.ts +++ b/src/app/api/admin/suspensions/route.ts @@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from 'next/server'; import { createClient } from '@/lib/supabase/server'; import nodemailer from 'nodemailer'; -const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastb5322.builtwithrocket.new'; +const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastbeat.com'; async function sendSuspensionEmail( email: string, diff --git a/src/app/api/admin/users/route.ts b/src/app/api/admin/users/route.ts index 693e63a..c9a39f8 100644 --- a/src/app/api/admin/users/route.ts +++ b/src/app/api/admin/users/route.ts @@ -107,7 +107,7 @@ export async function POST(req: NextRequest) { // Send email via Supabase Edge Function const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL; const supabaseAnonKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY; - const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastb5322.builtwithrocket.new'; + const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://broadcastbeat.com'; try { const emailRes = await fetch(`${supabaseUrl}/functions/v1/send-contributor-invite`, { diff --git a/src/app/authors/[slug]/page.tsx b/src/app/authors/[slug]/page.tsx index ffb2f7e..462043a 100644 --- a/src/app/authors/[slug]/page.tsx +++ b/src/app/authors/[slug]/page.tsx @@ -59,8 +59,8 @@ const authors: RecordYour selected topics:
${topicsList} - + Read Latest News โ diff --git a/supabase/functions/send-weekly-digest/index.ts b/supabase/functions/send-weekly-digest/index.ts index 407272e..2ab199c 100644 --- a/supabase/functions/send-weekly-digest/index.ts +++ b/supabase/functions/send-weekly-digest/index.ts @@ -185,7 +185,7 @@ function buildDigestHtml(params: {| - Visit the Forum + Visit the Forum |
You're receiving this because you opted in to the weekly digest.
- Manage email preferences + Manage email preferences ยท - BroadcastBeat + BroadcastBeat