diff options
Diffstat (limited to 'src/files.ts')
| -rw-r--r-- | src/files.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/files.ts b/src/files.ts index b2440a5..286e073 100644 --- a/src/files.ts +++ b/src/files.ts @@ -28,10 +28,10 @@ const imgQueueSize = profiler.counter({ agg_type: "sum" }) -const BASE_BASE: string = `/cs/scratch/${require("os").userInfo().username}/` -const CONTENT_BASE_DIRECTORY: string = BASE_BASE + 'files'; -const LOG_BASE_DIRECTORY: string = BASE_BASE + 'logs'; -const TEMP_BASE_DIRECTORY: string = BASE_BASE + 'files-temp'; +const BASE_BASE: string = `${__dirname}/../data` +const CONTENT_BASE_DIRECTORY: string = BASE_BASE + '/files'; +const LOG_BASE_DIRECTORY: string = BASE_BASE + '/logs'; +const TEMP_BASE_DIRECTORY: string = BASE_BASE + '/files-temp'; export interface Metadata { version: number; |
