From bc3b6c4c04e313bc280346faf5cce0cbd9a4fd87 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Thu, 2 May 2024 12:09:23 +0200 Subject: [PATCH] added "img" as handled path --- .../org/gcube/datatransfer/resolver/ConstantsResolver.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/datatransfer/resolver/ConstantsResolver.java b/src/main/java/org/gcube/datatransfer/resolver/ConstantsResolver.java index c14b38b..dacc6fb 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/ConstantsResolver.java +++ b/src/main/java/org/gcube/datatransfer/resolver/ConstantsResolver.java @@ -30,7 +30,8 @@ public class ConstantsResolver { public static final String QUERY_PARAM_CONTENT_TYPE = "contentType"; public static final String QUERY_PARAM_FILE_NAME = "fileName"; - public static final String[] resourcesHardCoded = { "ctlg" }; + //img is the path to refer images from https://data.dev.d4science.org/img/* + public static final String[] resourcesHardCoded = { "ctlg", "img" }; // The default resource candidate to manage the input requests not matching any // resolver services