Update some metadata for the photo category page
This commit is contained in:
@@ -239,7 +239,7 @@ export async function getCategoryAlbums(settings: GlobalSettings, route: string)
|
||||
const client = await createDirectusConnection();
|
||||
const result = await client.query(print(getCategoryAlbumQuery), {
|
||||
date: formatDate(new Date(), "%Y-%M-%D"),
|
||||
categoryUrl: `/${route}`
|
||||
categoryUrl: route
|
||||
});
|
||||
|
||||
let albums: PhotoAlbum[] = [];
|
||||
|
||||
Reference in New Issue
Block a user