diff --git a/src/loci/formats/S3FileSystemStore.java b/src/loci/formats/S3FileSystemStore.java index 7d66928..ed631f4 100644 --- a/src/loci/formats/S3FileSystemStore.java +++ b/src/loci/formats/S3FileSystemStore.java @@ -98,7 +98,7 @@ public String getRoot() { private void setupClient() { String[] pathSplit = root.toString().split(File.separator); - String endpoint = "ENDPPOINT_PROTOCOL" + pathSplit[1] + File.separator; + String endpoint = ENDPPOINT_PROTOCOL + pathSplit[1] + File.separator; try { client = AmazonS3ClientBuilder.standard() .withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint, "auto"))