1.0.3 • Published 1 year ago

medusa-file-oss v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

medusa-file-oss

Upload files to an Aliyun OSS.

Options

const plugins = [
  // ...
  {
    resolve: `medusa-file-oss`,
    options: {
        bucket: process.env.OSS_BUCKET,
        region: process.env.OSS_REGION,
        accessKeyId: process.env.OSS_ACCESS_KEY_ID,
        accessKeySecret: process.env.OSS_SECRET_ACCESS_KEY,
    },
  },
]

Follow this guide to configure the plugin.