Skip to content

Commit

Permalink
fix config location for resolver definition
Browse files Browse the repository at this point in the history
  • Loading branch information
LlGC-dof committed May 20, 2024
1 parent 8c9a68f commit dead6a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import edu.tamu.iiif.model.repo.RedisResourceRepo;

@Service
@ConditionalOnProperty(value = "iiif.resolver", havingValue = "redis", matchIfMissing = true)
@ConditionalOnProperty(value = "iiif.resolver.type", havingValue = "redis", matchIfMissing = true)
public class RedisResourceResolver implements ResourceResolver {

public final static UrlValidator URL_VALIDATOR = new UrlValidator(new String[] { "http", "https" }, UrlValidator.ALLOW_LOCAL_URLS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import edu.tamu.iiif.exception.NotFoundException;

@Service
@ConditionalOnProperty(value = "iiif.resolver", havingValue = "remote", matchIfMissing = false)
@ConditionalOnProperty(value = "iiif.resolver.type", havingValue = "remote", matchIfMissing = false)
public class RemoteResourceResolver implements ResourceResolver {

@Autowired
Expand Down

0 comments on commit dead6a4

Please sign in to comment.