From ee58c588f1be10a2f6ee16b6d8fdbbdd1462c219 Mon Sep 17 00:00:00 2001 From: Richard Ward Date: Mon, 1 Aug 2022 13:57:52 +0200 Subject: [PATCH] docs: last storage plugin is default - spaces (#1951) * docs: last storage plugin is default Add caution that only the last configured storage plugin will be used * Update docs/content/add-plugins/spaces.md Co-authored-by: Shahed Nasser Co-authored-by: Shahed Nasser --- docs/content/add-plugins/spaces.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/add-plugins/spaces.md b/docs/content/add-plugins/spaces.md index 7119db049a..38a73588c0 100644 --- a/docs/content/add-plugins/spaces.md +++ b/docs/content/add-plugins/spaces.md @@ -53,6 +53,12 @@ Make sure to use an environment variable for the secret key in a live environmen ::: +:::caution + +If you have multiple storage plugins configured, the last plugin declared in the `medusa-config.js` file will be used. + +::: + ### Try it out! Finally, run your Medusa server alongside our admin system to try out your new file service. Upon editing or creating products, you can now upload thumbnails and images, that are stored in DigitalOcean Spaces.