mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-11 02:04:59 +08:00
4.6.7 first pr (#726)
This commit is contained in:
6
packages/service/common/file/constants.ts
Normal file
6
packages/service/common/file/constants.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import path from 'path';
|
||||
|
||||
export const tmpFileDirPath =
|
||||
process.env.NODE_ENV === 'production' ? '/app/tmp' : path.join(process.cwd(), 'tmp');
|
||||
|
||||
export const previewMaxCharCount = 3000;
|
||||
Reference in New Issue
Block a user