Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 多个上传提供商Strapi_Node.js_Content Management System_Strapi - Fatal编程技术网

Node.js 多个上传提供商Strapi

Node.js 多个上传提供商Strapi,node.js,content-management-system,strapi,Node.js,Content Management System,Strapi,我需要根据上传mime类型在Strapi中启用不同的上传提供程序。我希望图像转到cloudinary,而像.docx或.pdf这样的附件应该上传到strapi本地文件夹中托管。我在plugins.js中配置了cloudinary,它可以工作,但本地上传不起作用

我需要根据上传mime类型在Strapi中启用不同的上传提供程序。我希望图像转到cloudinary,而像.docx或.pdf这样的附件应该上传到strapi本地文件夹中托管。我在
plugins.js
中配置了cloudinary,它可以工作,但本地上传不起作用