mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Update packages/providers/upload-aws-s3/lib/index.js
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
This commit is contained in:
parent
659528c78c
commit
1c3106bc74
@ -10,7 +10,7 @@ const _ = require('lodash');
|
||||
const AWS = require('aws-sdk');
|
||||
|
||||
module.exports = {
|
||||
init({baseUrl, rootPath = "", s3Options, ...legacyS3Options}) {
|
||||
init({baseUrl = null, rootPath = null, s3Options, ...legacyS3Options}) {
|
||||
if(legacyS3Options && process.env.NODE_ENV !== 'production')
|
||||
console.log("S3 configuration options passed at root level of the plugin's providerOptions is deprecated and will be removed in a future release. You wrap them inside the 's3Options:{}' property.")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user