Vectrum
Sign In
JjohannSoAdd wikisHistory
6 lines · 327 Bytes · TypeScript
import path from "node:path";

export const DATA_ROOT = process.env.DATA_ROOT ?? path.join(process.cwd(), "data");
export const REPOS_ROOT = path.join(DATA_ROOT, "repos");
/** Wikis are git repositories of their own, kept by repository id so renames don't move them. */
export const WIKIS_ROOT = path.join(DATA_ROOT, "wikis");