diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aebb5e3d..34d5415d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- Fixed `og:image` URL resolving to `localhost` instead of the public domain when the app is deployed behind a reverse proxy. [#908](https://github.com/sourcebot-dev/sourcebot/pull/908) + ## [4.11.3] - 2026-02-19 ### Fixed diff --git a/packages/web/src/app/layout.tsx b/packages/web/src/app/layout.tsx index 8af5c3a98..c707f511a 100644 --- a/packages/web/src/app/layout.tsx +++ b/packages/web/src/app/layout.tsx @@ -11,6 +11,7 @@ import { PlanProvider } from "@/features/entitlements/planProvider"; import { getEntitlements } from "@sourcebot/shared"; export const metadata: Metadata = { + metadataBase: new URL(env.AUTH_URL), // Using the title.template will allow child pages to set the title // while keeping a consistent suffix. title: {