mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
fb40563e52
@ -165,7 +165,13 @@ export class Dumper extends AppMigrator {
|
||||
}
|
||||
|
||||
backUpStorageDir() {
|
||||
return path.resolve(process.cwd(), 'storage', 'backups');
|
||||
const paths = [process.cwd(), 'storage', 'backups'];
|
||||
|
||||
if (this.app.name !== 'main') {
|
||||
paths.push(this.app.name);
|
||||
}
|
||||
|
||||
return path.resolve(...paths);
|
||||
}
|
||||
|
||||
async allBackUpFilePaths(options?: { includeInProgress?: boolean; dir?: string }) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user