From 2869951ab3e8a1d14bee687de19e713e7b491414 Mon Sep 17 00:00:00 2001 From: Alan Grainger <16197738+alangrainger@users.noreply.github.com> Date: Mon, 21 Jul 2025 12:25:49 +0200 Subject: [PATCH] #112 Improve og:image base URL function --- app/src/render.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/render.ts b/app/src/render.ts index c0775d0..073715c 100644 --- a/app/src/render.ts +++ b/app/src/render.ts @@ -90,7 +90,7 @@ class Render { const items = [] // publicBaseUrl is used for the og:image, which requires a fully qualified URL. - // You can specify this in your config.json file, or send it dynamically as a `host` header + // You can specify this in your docker-compose file, or send it dynamically as a `publicBaseUrl` header const publicBaseUrl = process.env.PUBLIC_BASE_URL || res.req.headers.publicBaseUrl || (res.req.protocol + '://' + res.req.headers.host) for (const asset of share.assets) {