Browse Source

fix(nocodb): s3 endpoint for vultr

pull/5445/head
Wing-Kam Wong 2 years ago
parent
commit
81eec8833b
  1. 4
      packages/nocodb/src/lib/plugins/vultr/Vultr.ts

4
packages/nocodb/src/lib/plugins/vultr/Vultr.ts

@ -105,9 +105,7 @@ export default class Vultr implements IStorageAdapterV2 {
s3Options.accessKeyId = this.input.access_key;
s3Options.secretAccessKey = this.input.access_secret;
s3Options.endpoint = new AWS.Endpoint(
`s3.${this.input.region}.cloud.ovh.net`
);
s3Options.endpoint = new AWS.Endpoint(this.input.hostname);
this.s3Client = new AWS.S3(s3Options);
}

Loading…
Cancel
Save