将图像从 Strapi 上传到 Cloudinary 在生产模式下不起作用

问题描述 投票:0回答:1

我正在尝试将图像上传到我的 Strapi 服务器,它在本地主机上完美运行,它显示图像并上传到 Cloudinary。我在铁路上部署了服务器,一切正常,但我无法上传图像或任何文件。

enter image description here

我遵循 Strapi 提供商 Cloudinary 文档,并在本地主机上完美工作。

server strapi cloudinary railway
1个回答
0
投票

听起来项目设置仍然是为本地主机项目设置的,并且没有更新以反映铁路服务器。

尝试在此处检查文档:https://dev.to/yinks/how-to-create-and-deploy-a-strapi-project-on-railway-3kja,以确保正确定义主机。

© www.soinside.com 2019 - 2024. All rights reserved.