Skip to content

Commit 851b132

Browse files
committed
fix: drop query param build id cache bursting
1 parent 0b81718 commit 851b132

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/runtime/app/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ export function getOgImagePath(_pagePath: string, _options?: Partial<OgImageOpti
184184
// Build URL with encoded options (Cloudinary-style)
185185
// Include _path so the server knows which page to render
186186
// Pass defaults to skip encoding default values in URL
187-
// For dynamic images, append build ID to bust external platform caches (Telegram, Facebook, etc.)
188-
if (!isStatic && runtimeConfig.app.buildId) {
189-
path = withQuery(path, { _v: runtimeConfig.app.buildId })
190-
}
191187
const result = buildOgImageUrl(options, extension, isStatic, defaults)
192188
const path = joinURL('/', baseURL, result.url)
193189
return {

0 commit comments

Comments
 (0)