Compare commits

..

2 commits

Author SHA1 Message Date
HangerThem
2e48ad1ba2 Try and fix the og image pointing to localhost 2026-08-03 16:18:58 +02:00
HangerThem
40b0fb8e08 Try and fix the og image pointing to localhost 2026-08-03 16:13:02 +02:00
2 changed files with 3 additions and 2 deletions

View file

@ -1,9 +1,9 @@
import { metadata } from '@/app/metadata' import { metadata } from '@/app/metadata'
import { getAllPostsMeta } from '@/lib/posts' import { getAllPostsMeta } from '@/lib/posts'
export const dynamic = "force-static" export const dynamic = 'force-static'
const SITE_URL = process.env.SITE_URL || 'http://localhost:3000' const SITE_URL = process.env.SITE_URL
function escapeXml(str: string) { function escapeXml(str: string) {
return str return str

View file

@ -1,6 +1,7 @@
import { Metadata } from 'next' import { Metadata } from 'next'
export const metadata: Metadata = { export const metadata: Metadata = {
metadataBase: new URL(process.env.SITE_URL!),
title: 'Ephemeris', title: 'Ephemeris',
description: 'A blog about me and my interests', description: 'A blog about me and my interests',
creator: 'hangerthem', creator: 'hangerthem',