strapi - Strapi 不会在产品中上传
问题描述
我在我的文件夹中安装了
yarn add strapi-provider-upload-cloudinary graphql
在cloudinary注册并遵循步骤
但是,在尝试上传到库时出现以下错误,导致生产中断
Error: Internal Server Error
Cf https://xxxx.herokuapp.com/admin/main.xxxx.chunk.js:1
同样在开发中,当我进行查询时,图像 url 仍然是本地的:
解决方案
这是对我有用的解决方案 Heroku config
推荐阅读
- c++ - 如何从 C++ 中的文件验证用户登录?
- java - 在 Web Flux 中记录 POST 请求正文
- python - 如果数字太大,为什么csv会删除开头的0?你怎么解决这个问题?
- r - R:计算两个最大值之间有多少个值
- angular - Angular:链式双向属性绑定
- r - 具有某些操作的数据框中的唯一计数和总计数
- python - Python函数作用域的一些疑惑
- node.js - 未定义所需模块时,Sinon 单元测试失败
- python-3.x - 运行时烧瓶:应用程序未从谷歌云平台的 SSH 终端在浏览器中打开
- flutter - 在 Flutter 中使用 Google Maps 和 Container 堆叠 Widget