mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
git_pull 重构,样式优化
This commit is contained in:
@@ -17,6 +17,9 @@ const logPath = path.join(rootPath, 'log/');
|
||||
const authError = '错误的用户名密码,请重试';
|
||||
const loginFaild = '请先登录!';
|
||||
const configString = 'config sample crontab shareCode diy';
|
||||
const dbPath = path.join(rootPath, 'db/');
|
||||
const manualLogPath = path.join(rootPath, 'manual_log/');
|
||||
const cronDbFile = path.join(rootPath, 'db/crontab.db');
|
||||
|
||||
if (envFound.error) {
|
||||
throw new Error("⚠️ Couldn't find .env file ⚠️");
|
||||
@@ -48,4 +51,7 @@ export default {
|
||||
'crontab.list': crontabFile,
|
||||
'diy.sh': diyFile,
|
||||
},
|
||||
dbPath,
|
||||
cronDbFile,
|
||||
manualLogPath,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user