kopia lustrzana https://github.com/gaul/s3proxy
Setting the same 8080 port as the other examples
rodzic
d8e0535767
commit
c981241ef6
|
@ -27,7 +27,7 @@ client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));
|
||||||
```javascript
|
```javascript
|
||||||
var AWS = require('aws-sdk');
|
var AWS = require('aws-sdk');
|
||||||
var s3 = new AWS.S3({
|
var s3 = new AWS.S3({
|
||||||
endpoint: 'http://127.0.0.1:8081',
|
endpoint: 'http://127.0.0.1:8080',
|
||||||
accessKeyId: 'local-identity',
|
accessKeyId: 'local-identity',
|
||||||
secretAccessKey: 'local-credential',
|
secretAccessKey: 'local-credential',
|
||||||
s3ForcePathStyle: true
|
s3ForcePathStyle: true
|
||||||
|
|
Ładowanie…
Reference in New Issue