1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Add TMP persistent directory

To store files that must be preserved between peertube restarts
This commit is contained in:
Chocobozzz 2023-05-03 15:17:11 +02:00 committed by Chocobozzz
parent 3a0c2a77b1
commit 6a49056026
17 changed files with 148 additions and 62 deletions

View file

@ -364,6 +364,7 @@ export class PeerTubeServer {
},
storage: {
tmp: this.getDirectoryPath('tmp') + '/',
tmp_persistent: this.getDirectoryPath('tmp-persistent') + '/',
bin: this.getDirectoryPath('bin') + '/',
avatars: this.getDirectoryPath('avatars') + '/',
videos: this.getDirectoryPath('videos') + '/',