import path from 'node:path';
import { existsSync } from 'node:fs';

import { config } from '@opengis/fastify-table/utils.js';

const root = config.temp || (existsSync('/data/local') ? '/data/local/kamianske' : process.cwd());

export default path.join(root, 'log/map').replace(/\\/g, '/');
