首页 > 解决方案 > Strapi 不会在产品中上传

问题描述

我在我的文件夹中安装了

yarn add strapi-provider-upload-cloudinary graphql

在cloudinary注册并遵循步骤

使用 Strapi 3.1.4 配置 Cloudinary

但是,在尝试上传到库时出现以下错误,导致生产中断

Error: Internal Server Error
    Cf https://xxxx.herokuapp.com/admin/main.xxxx.chunk.js:1

同样在开发中,当我进行查询时,图像 url 仍然是本地的:

在此处输入图像描述

标签: strapicloudinary

解决方案


这是对我有用的解决方案 Heroku config


推荐阅读