IO-1998 LMS Zip Download.

This commit is contained in:
Patrick Fic
2022-07-20 14:17:03 -07:00
parent 37349c7481
commit 3d0791f633
7 changed files with 138 additions and 9 deletions

View File

@@ -24,6 +24,9 @@ export const FolderPaths = {
VendorsFolder,
};
export function JobRelativeFilePath(jobid: string, filename: string) {
return path.join(FolderPaths.Jobs, jobid, filename);
}
export default function InitServer() {
logger.info(`Ensuring Root media path exists: ${FolderPaths.Root}`);
fs.ensureDirSync(FolderPaths.Root);