Files
medusa-store/packages/medusa-file-spaces
Frane Polić ee8fe3a88b fix(medusa-file-spaces): return fileKey for Spaces upload (#2171)
**What**
- return `fileKey` in the response after the file is uploaded to Spaces

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-09-09 10:55:43 +00:00
..
2022-08-25 15:51:21 +02:00
2022-08-25 15:51:21 +02:00

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)