From 452745b04a34dfebbd8ea03b4c018d2f34b53f91 Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Mon, 10 Oct 2022 09:01:52 +0200 Subject: [PATCH] Added webp to the list of allowed images --- loopback/server/datasources.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/loopback/server/datasources.json b/loopback/server/datasources.json index 5dade9c2e..4db642058 100644 --- a/loopback/server/datasources.json +++ b/loopback/server/datasources.json @@ -40,6 +40,7 @@ "image/png", "image/jpeg", "image/jpg", + "image/webp", "video/mp4" ] }, @@ -60,7 +61,8 @@ "multipart/x-zip", "image/png", "image/jpeg", - "image/jpg" + "image/jpg", + "image/webp" ] }, "imageStorage": { @@ -72,7 +74,8 @@ "allowedContentTypes": [ "image/png", "image/jpeg", - "image/jpg" + "image/jpg", + "image/webp" ] }, "invoiceStorage": { @@ -96,6 +99,7 @@ "image/png", "image/jpeg", "image/jpg", + "image/webp", "video/mp4" ] },