React app is working fine in localhost But when i upload in Cloud Foundry and registered in Mindsphere 404 not found:error

一曲冷凌霜 提交于 2020-04-18 01:20:21

问题


I'm new to Cloudfoundry and Mindsphere.When running React app(simple app) in local is working fine. But when push to Cloud Foundry and registered in mindsphere, While accessing the URL, it showing the the following error:

404 Not Found: Requested route ('demo-react-app.xxxxxx.xxxx1.mindsphere.io') does not exist.

Document(page) itself is not loading.

please help,How to rectify this error?

来源:https://stackoverflow.com/questions/61017871/react-app-is-working-fine-in-localhost-but-when-i-upload-in-cloud-foundry-and-re

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!