|
@@ -452,7 +452,6 @@ public class AwsTemplate implements FileStorageTemplate {
|
|
|
public String getInternalEndpoint(String bucket ,String key) {
|
|
|
URI uri = new URI(awsProperties.getInternalEndpoint());
|
|
|
String host = uri.getHost();
|
|
|
- host=bucket+"."+host;
|
|
|
return new URI(uri.getScheme(), host, uri.getPath()+"/"+key, uri.getFragment()).toString();
|
|
|
}
|
|
|
|