medusa-plugin-filestorage-local

Store your images locally on your installation of medusa e-commerce.

Usage no npm install needed!

<script type="module">
  import medusaPluginFilestorageLocal from 'https://cdn.skypack.dev/medusa-plugin-filestorage-local';
</script>

README

Medusa-plugin-filestorage-local

Store your images locally on your installation of medusa e-commerce.

Available options (default configuration)

{
    // The baseurl for your medusajs server
    serverBaseUrl: "http://localhost:9000",
    // when enabled saves the file as a base64 encoded string inside the database (deleting that row is not yet supported)
    saveInDatabase: false, // recommended: false
    // the folder where your files are stored on the server
    fileLocation: "uploads/persistent",
}