11 lines
373 B
JavaScript
11 lines
373 B
JavaScript
import { getMaps } from '../../database/getMaps.js';
|
|
import * as configFunctions from '../../helpers/functions.config.js';
|
|
export async function handler(_request, response) {
|
|
const maps = await getMaps();
|
|
response.render('map-search', {
|
|
headTitle: `${configFunctions.getConfigProperty('aliases.map')} Search`,
|
|
maps
|
|
});
|
|
}
|
|
export default handler;
|