Refresh the homepage and improve export and draft guidance
This commit is contained in:
@@ -40,7 +40,8 @@ export async function catalog() {
|
||||
return Promise.all(
|
||||
maps.map(async (m) => ({
|
||||
...m,
|
||||
image: (await mediaUrl(m.cover_path)) ?? undefined,
|
||||
image: (await mediaUrl(m.map_path || m.cover_path)) ?? undefined,
|
||||
mapImage: (await mediaUrl(m.map_path)) ?? undefined,
|
||||
server: servers.find((s) => s.id === m.server_id),
|
||||
})),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user