docs: added documentation for local file service (#4162)

* docs: added documentation for local file service

* fixed eslint errors

* change local file service package name
This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-05-30 19:31:57 +02:00
1 parent cfbda33473
commit 81fea66ef3
7 files changed
+152 -32

No files matched your search

+7 -1
View File
@@ -31,7 +31,13 @@ npm install @medusajs/file-local
```js
const plugins = [
// ...
`@medusajs/file-local`
{
resolve: `@medusajs/file-local`,
options: {
upload_dir: 'uploads/images', // optional
backend_url: 'http://localhost:9000' // optional
}
},
]
```