mindsphere

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