Skip to content

Commit cec460f

Browse files
committed
also apply max duration to photography route
1 parent bec1522 commit cec460f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/photography/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ const getThumbUrl = (public_id: string) => {
6666
return cloudinary.url(public_id, { sdk_semver: '>=2.6.1', transformation: [{ crop: 'thumb', width: 1000 }, { quality: "auto:good", format: 'auto' }] })
6767
}
6868

69+
export const maxDuration = 60; // This function can run for a maximum of 60 seconds
70+
6971
export default async function PhotographyPage() {
7072
const photos = await cachedGetPhotos()
7173
return (

0 commit comments

Comments
 (0)