From ed46ad03d29d2cc013512ef6ae80e0e259d850de Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 28 Mar 2024 09:33:57 +0100 Subject: [PATCH] refs #7152 warmFix --- loopback/server/datasources.json | 15 --------------- modules/supplier/back/model-config.json | 3 --- 2 files changed, 18 deletions(-) diff --git a/loopback/server/datasources.json b/loopback/server/datasources.json index a8fc13152..608479b4b 100644 --- a/loopback/server/datasources.json +++ b/loopback/server/datasources.json @@ -126,20 +126,5 @@ "allowedContentTypes": [ "application/x-7z-compressed" ] - }, - "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" - ] } } diff --git a/modules/supplier/back/model-config.json b/modules/supplier/back/model-config.json index efbb4ceed..5a0c6b43a 100644 --- a/modules/supplier/back/model-config.json +++ b/modules/supplier/back/model-config.json @@ -8,9 +8,6 @@ "SupplierDms": { "dataSource": "vn" }, - "SupplierContainer": { - "dataSource": "supplierStorage" - }, "SupplierAddress": { "dataSource": "vn" },