Improve environment variable stuff
This commit is contained in:
parent
760ee07a2e
commit
6ba174cff0
16 changed files with 66 additions and 64 deletions
|
@ -9,7 +9,7 @@ function range(start, stop) {
|
|||
return result;
|
||||
}
|
||||
|
||||
const storePath = process.env.FILE_PATH || path.join(process.env.HOME, '.hostr', 'uploads');
|
||||
const storePath = process.env.UPLOAD_STORAGE_PATH;
|
||||
|
||||
const directories = range('A', 'Z').concat(range('a', 'z'), range('0', '9'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue