Force public API to be dynamic
This commit is contained in:
parent
cdc5fc6586
commit
db3b89309d
@ -6,6 +6,8 @@ import {
|
||||
SITE_TITLE,
|
||||
} from '@/site/config';
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export async function GET() {
|
||||
if (PUBLIC_API_ENABLED) {
|
||||
const photos = await getPhotosCached({ limit: API_PHOTO_REQUEST_LIMIT });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user