12 lines
306 B
JavaScript
12 lines
306 B
JavaScript
import * as path from "path";
|
|
import { fileURLToPath } from "url"; // ✅ Cần import từ 'url'
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = path.dirname(__filename);
|
|
|
|
const CONSTANTS = {
|
|
PROFILE_PATH: path.join(__dirname, "profiles"),
|
|
};
|
|
|
|
export default CONSTANTS;
|