Strapi 不会在产品中上传
Strapi won't upload in prod
我在我的文件夹中安装了
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
同样在开发中,当我进行查询时,图像 url 仍然是本地图像:
这是对我有用的解决方案
Heroku config
我在我的文件夹中安装了
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
同样在开发中,当我进行查询时,图像 url 仍然是本地图像:
这是对我有用的解决方案 Heroku config