@tstdl/base 0.93.102 → 0.93.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,6 +18,10 @@ export class S3ObjectStorageProviderConfig {
|
|
|
18
18
|
* S3 endpoint
|
|
19
19
|
*/
|
|
20
20
|
endpoint;
|
|
21
|
+
/**
|
|
22
|
+
* S3 Region
|
|
23
|
+
*/
|
|
24
|
+
region;
|
|
21
25
|
/**
|
|
22
26
|
* S3 bucket, use a single bucket for all modules (which will become transparent key prefixes)
|
|
23
27
|
*
|
|
@@ -50,6 +54,7 @@ let S3ObjectStorageProvider = class S3ObjectStorageProvider extends ObjectStorag
|
|
|
50
54
|
}
|
|
51
55
|
this.client = new Client({
|
|
52
56
|
endPoint: hostname,
|
|
57
|
+
region: config.region,
|
|
53
58
|
port: (port.length > 0) ? parseInt(port, 10) : undefined,
|
|
54
59
|
useSSL: protocol == 'https:',
|
|
55
60
|
accessKey: config.accessKey,
|