首页 > 解决方案 > Jboss 角度部署

问题描述

我正在 jboss 应用程序服务器中部署一个 Angular 应用程序,在我点击刷新之前一切似乎都运行良好。一旦我点击刷新它说 404 not found 错误。这是因为 Angular 的路由模块将 url 从http://localhost:8080/contextroot/index.html路由到http://localhost:8080/contextroot/xyz

我尝试在 Google 上搜索 jboss angular 部署、jboss angular nginx 配置等,但没有成功。

谁能帮帮我吗?

标签: angularjboss

解决方案



推荐阅读