Added media move.

This commit is contained in:
Patrick Fic
2022-04-28 21:39:33 -07:00
parent 71fb6c21ca
commit cb046f813b
5 changed files with 73 additions and 12 deletions

View File

@@ -21,10 +21,6 @@ export const FolderPaths = {
};
export default function InitServer() {
console.log(
`Root Media Path: ${FolderPaths.Root}`,
fs.pathExistsSync(FolderPaths.Root)
);
console.log(`Ensuring Root media path exists: ${FolderPaths.Root}`);
fs.ensureDirSync(FolderPaths.Root);
console.log(`Ensuring Jobs media path exists: ${FolderPaths.Jobs}`);