diff options
| author | Tom Harley | 2020-01-24 06:44:55 +0000 |
|---|---|---|
| committer | Tom Harley | 2020-01-24 06:44:55 +0000 |
| commit | 354e6851e70d7c19106af0d4f14c2b2751e7167d (patch) | |
| tree | 3a00ce281cd6466566708dc1c8234d0b2979945d /src/files.ts | |
| parent | Simplify Travis CI installing (diff) | |
| download | medicine-trh/travis-setup.tar.gz medicine-trh/travis-setup.zip | |
Changes from ages ago
HEADtrh/travis-setupDiffstat (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; |
