mirror of
https://github.com/tl-open-source/tl-rtc-file.git
synced 2025-10-06 07:56:51 +08:00
17 lines
313 B
JavaScript
17 lines
313 B
JavaScript
const path = require("path");
|
|
|
|
function getBasePath(dir){
|
|
return path.resolve(__dirname , dir);
|
|
}
|
|
|
|
|
|
const ROOT_PATH = getBasePath('../../../res');
|
|
const JS_PATH = getBasePath('../../../res/js');
|
|
const CSS_PATH = getBasePath('../../../res/css');
|
|
|
|
|
|
module.exports = {
|
|
ROOT_PATH,
|
|
JS_PATH,
|
|
CSS_PATH
|
|
}; |