aboutsummaryrefslogtreecommitdiff
path: root/src/files.ts
diff options
context:
space:
mode:
authorTom Harley2020-01-24 06:44:55 +0000
committerTom Harley2020-01-24 06:44:55 +0000
commit354e6851e70d7c19106af0d4f14c2b2751e7167d (patch)
tree3a00ce281cd6466566708dc1c8234d0b2979945d /src/files.ts
parentSimplify Travis CI installing (diff)
downloadmedicine-trh/travis-setup.tar.gz
medicine-trh/travis-setup.zip

Changes from ages ago

HEADtrh/travis-setup
Diffstat (limited to 'src/files.ts')
-rw-r--r--src/files.ts8
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;