mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
Update api/src/config/index.ts
This commit is contained in:
parent
5172b970c5
commit
5567e9b750
@ -107,7 +107,7 @@ export const config: Config = {
|
||||
(process.env.UPLOAD_DIR && join(process.cwd(), process.env.UPLOAD_DIR)) ??
|
||||
join(process.cwd(), 'uploads'),
|
||||
avatarDir:
|
||||
(process.env.AVATAR_DIR && join(process.cwd(), process.env.AVATAR_DIR)) ??
|
||||
(process.env.AVATAR_DIR ? join(process.cwd(), process.env.AVATAR_DIR)) :
|
||||
join(process.cwd(), 'avatars'),
|
||||
storageMode: 'disk',
|
||||
maxUploadSize: process.env.UPLOAD_MAX_SIZE_IN_BYTES
|
||||
|
Loading…
Reference in New Issue
Block a user