From 2ce0794a32aa201dee243e3a467f8383778e6ad9 Mon Sep 17 00:00:00 2001 From: Dylan Keir Date: Tue, 22 Mar 2022 20:59:36 +0000 Subject: [PATCH] compile to dist! --- dist/index.js | 13 ++++++++++--- package-lock.json | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 640f65b..976ab6a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -453,8 +453,16 @@ const providers = { website_endpoint: `http://%(bucket)s.website-${region}.linodeobjects.com/`, access_key, secret_key, - }) -} + }), + vultr: ({ region = 'ewr-1', access_key = '', secret_key = ''}) => ({ + bucket_location: region, + host_base: `${region}.vultrobjects.com.com`, + host_bucket: `%(bucket)s.${region}.vultrobjects.com`, + website_endpoint: `http://%(bucket)s.website-${region}.vultrobjects.com/`, + access_key, + secret_key, + }), +}; const makeConf = (provider) => { const opts = { ...defaults, ...provider } @@ -467,7 +475,6 @@ module.exports = { } - /***/ }), /***/ 658: diff --git a/package-lock.json b/package-lock.json index 3731514..6100f11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "s3cmd", - "version": "1.0.0", + "version": "1.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "s3cmd", - "version": "1.0.0", + "version": "1.2.0", "license": "ISC", "dependencies": { "@actions/core": "^1.2.6",