mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
WIP
This commit is contained in:
8
packages/server/src/services/ChromiumlyTenancy/utils.ts
Normal file
8
packages/server/src/services/ChromiumlyTenancy/utils.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import path from 'path';
|
||||
|
||||
export const PDF_FILE_SUB_DIR = '/pdf';
|
||||
export const PDF_FILE_EXPIRE_IN = 40; // ms
|
||||
|
||||
export const getPdfFilesStorageDir = (filename: string) => {
|
||||
return path.join(PDF_FILE_SUB_DIR, filename);
|
||||
}
|
||||
Reference in New Issue
Block a user