mirror of
https://github.com/whyour/qinglong.git
synced 2026-11-30 16:27:21 +08:00
修复 demo 环境提示
This commit is contained in:
1 parent
224000b63b
commit
7d65d96ebd
1 file changed
+1
@@ -707,6 +707,7 @@ export default class CronService {
|
||||
}));
|
||||
|
||||
if (isDemoEnv()) {
|
||||
await writeFileWithLock(config.crontabFile, '');
|
||||
return;
|
||||
}
|
||||
await cronClient.addCron(regularCrons);
|
||||
|
||||
Reference in new issue
Block a user