Warm og images for individual photos
This commit is contained in:
parent
d526ef97a4
commit
c5c8f52c91
@ -64,6 +64,9 @@ export default async function PhotoPage({
|
||||
|
||||
const isPhotoFirst = photos.findIndex(p => p.id === photoId) === 0;
|
||||
|
||||
// Warm OG image without waiting on response
|
||||
fetch(absolutePathForPhotoImage(photo));
|
||||
|
||||
return <>
|
||||
{children}
|
||||
<PhotoDetailPage
|
||||
|
||||
Loading…
Reference in New Issue
Block a user