Openstatus www.openstatus.dev

fix: og base url

+2 -3
+2 -3
apps/web/src/app/shared-metadata.ts
··· 51 51 const { slug, metadata } = page; 52 52 const { title, description, category, publishedAt } = metadata; 53 53 54 - const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"; 55 - const ogImage = `${baseUrl}/api/og?title=${encodeURIComponent( 54 + const ogImage = `${BASE_URL}/api/og?title=${encodeURIComponent( 56 55 title, 57 56 )}&description=${encodeURIComponent( 58 57 description, ··· 66 65 description, 67 66 type: "article", 68 67 publishedTime: publishedAt.toISOString(), 69 - url: `${baseUrl}/changelog/${slug}`, 68 + url: `${BASE_URL}/changelog/${slug}`, 70 69 images: [ 71 70 { 72 71 url: ogImage,