21 lines
674 B
JavaScript
21 lines
674 B
JavaScript
const path = require("path");
|
|
const root = path.resolve(__dirname, '../')
|
|
|
|
const __glob = {
|
|
ROUTES: root + path.sep + "routes" + path.sep,
|
|
ROOT: root,
|
|
LOGS: root + path.sep + "logs",
|
|
ICON: root + path.sep + "public" + path.sep + 'images' + path.sep + "FormatLogo_WHITE.ico",
|
|
DATA: root + path.sep + "data",
|
|
USERS: root + path.sep + "data" + path.sep + "users.json",
|
|
CONFIG: root + path.sep + "data" + path.sep + "config.json",
|
|
SHARED: root + path.sep + "data" + path.sep + "shared",
|
|
USERS_IMAGES: root + path.sep + "data" + path.sep + "user_images",
|
|
PACKAGE_JSON: root + path.sep + "package.json",
|
|
};
|
|
|
|
|
|
|
|
module.exports = { __glob };
|
|
|