fix: refs #7152 add supplier storage #2246

Merged
alexm merged 1 commits from 7152-hotFix_addSupplierStorage into master 2024-04-04 06:58:06 +00:00
2 changed files with 18 additions and 0 deletions

View File

@ -117,6 +117,21 @@
"video/mp4"
]
},
"supplierStorage": {
"name": "supplierStorage",
"connector": "loopback-component-storage",
"provider": "filesystem",
"root": "./storage/dms",
"maxFileSize": "31457280",
"allowedContentTypes": [
"image/png",
"image/jpeg",
"image/jpg",
"image/webp",
"video/mp4",
"application/pdf"
]
},
"accessStorage": {
"name": "accessStorage",
"connector": "loopback-component-storage",

View File

@ -8,6 +8,9 @@
"SupplierDms": {
"dataSource": "vn"
},
"SupplierContainer": {
"dataSource": "supplierStorage"
},
"SupplierAddress": {
"dataSource": "vn"
},