首页 > 解决方案 > 使用 express 部署到 github 的反应应用程序,但它显示:404 There is not a GitHub Pages site here, when deploy to heroku 404 not found nginx

问题描述

在我部署了也使用 express.js 的 react 应用程序后,我不断收到 404:这里没有 GitHub Pages 站点。

同样,我尝试将其部署到heroku,但它显示404:未找到nginx,而所有这些都在我为我的应用程序制作一些后端之前工作。

我搜索了整个互联网并没有找到我的答案。

请任何有想法如何解决它的人?下面是我的存储库,其中包含所有代码。 https://github.com/AbdullahGumi/crwn-clothing

标签: reactjsnginxherokubackendgithub-pages

解决方案


推荐阅读