mirror of
https://github.com/qwertyforce/scenery.git
synced 2025-05-31 11:42:35 +00:00
use webp
This commit is contained in:
parent
e55711781f
commit
26f1e836b2
@ -33,7 +33,7 @@ export async function getServerSideProps(context: any) {
|
||||
const photos = []
|
||||
for (const image of images) {
|
||||
photos.push({
|
||||
src: `/images/${image.id}.${image.file_ext}`,
|
||||
src: `/webp_images/${image.id}.${image.file_ext}`,
|
||||
key: `/image/${image.id}`,
|
||||
width: image.width,
|
||||
height: image.height
|
||||
|
Loading…
x
Reference in New Issue
Block a user