Skip to content

Commit b6c7aaa

Browse files
committed
switched to file storage dir from data path
1 parent 9d57f8d commit b6c7aaa

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/file/local-file/local-file.service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ export class LocalFileService extends FileService {
2323
) {
2424
super(configService);
2525
this.logger.debug('constructor');
26-
this.directory = configService.getOrThrow('DATA_PATH');
26+
this.directory = configService.get(
27+
'FILE_STORAGE_DIR',
28+
path.join('data', 'uploads'),
29+
);
2730
this.setupDir();
2831
}
2932

0 commit comments

Comments
 (0)