pangolin/server/lib/consts.ts
2025-01-01 21:41:31 -05:00

8 lines
251 B
TypeScript

import path from "path";
import { fileURLToPath } from "url";
import { existsSync } from "fs";
export const __FILENAME = fileURLToPath(import.meta.url);
export const __DIRNAME = path.dirname(__FILENAME);
export const APP_PATH = path.join("config");