provider-upload-filerobot
Version:
Strapi v4 upload provider for Filerobot by Scaleflex
50 lines (30 loc) • 1.31 kB
Markdown
# Strapi v4 upload provider for Filerobot by Scaleflex
## Pre-requisite
The Filerobot Upload Provider should be installed after the Filerobot Plugin for Strapi. Otherwise media will just get uploaded to the local server.
## Install
`npm install provider-upload-filerobot`
(Use `npm install provider-upload-filerobot --legacy-peer-deps `if you need to)
## After you install the upload provider
### Config
In `config/plugins.js`
```
module.exports = {
// ...
'upload': {
config: {
provider: 'provider-upload-filerobot',
providerOptions: {},
},
},
};
```
## Run
`yarn build`
`yarn start`
## Usage
**Now when you upload stuff to Strapi's Media Library, the images will end up with a Filerobot URL:**

On top of that, if you have a content type which contains a Media field, like for example below:

The media that you'll add/upload into the content-post will also end up with a Filerobot URL:
