【问题标题】:Strapi won't upload in prodStrapi 不会在产品中上传
【发布时间】:2021-07-20 14:15:21
【问题描述】:

我在我的文件夹中安装了

yarn add strapi-provider-upload-cloudinary graphql

在cloudinary注册并按照步骤进行

Configuring Cloudinary with Strapi 3.1.4

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

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

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

【问题讨论】:

    标签: strapi cloudinary


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-09-11
      • 2022-06-15
      • 1970-01-01
      • 1970-01-01
      • 2012-03-12
      • 1970-01-01
      • 2022-01-12
      相关资源
      最近更新 更多