@pkorsholm/medusa-file-spaces

1.3.1 • Public • Published

medusa-file-spaces

Upload files to a DigitalOcean Space.

Learn more about how you can use this plugin in the documentaion.

Options

{
  spaces_url: "https://test.fra1.digitaloceanspaces.com",
  bucket: "test",
  endpoint: "fra1.digitaloceanspaces.com",
  access_key_id: "YOUR-ACCESS-KEY",
  secret_access_key: "YOUR-SECRET-KEY",
}

Optionally a download_url_duration option can be specified to change the valid duration of presigned download links. The duration is configured in seconds. (Default = 60 seconds)

Package Sidebar

Install

npm i @pkorsholm/medusa-file-spaces

Weekly Downloads

1

Version

1.3.1

License

MIT

Unpacked Size

43.5 kB

Total Files

7

Last publish

Collaborators

  • pkorsholm