first commit
This commit is contained in:
11
myteamwallet_backend/src/config/file.config.ts
Normal file
11
myteamwallet_backend/src/config/file.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs('file', () => ({
|
||||
driver: process.env.FILE_DRIVER,
|
||||
accessKeyId: process.env.ACCESS_KEY_ID,
|
||||
secretAccessKey: process.env.SECRET_ACCESS_KEY,
|
||||
awsDefaultS3Bucket: process.env.AWS_DEFAULT_S3_BUCKET,
|
||||
awsDefaultS3Url: process.env.AWS_DEFAULT_S3_URL,
|
||||
awsS3Region: process.env.AWS_S3_REGION,
|
||||
maxFileSize: 5242880, // 5mb
|
||||
}));
|
||||
Reference in New Issue
Block a user