将Aurelia应用程序部署到Heroku无法获取/ app /

时间:2015-04-01 06:32:30

标签: node.js heroku aurelia aurelia-navigation

我正在尝试在Aurelia

上部署并运行heroku应用

我将using Aurelia with a NodeJS Express App分叉并按照文档Getting Started with Node.js中的弹跳球

基本上是

heroku create

git push heroku master

在经历了一些困难之后,我发现在heroku上需要所有开发依赖项到package.json的依赖项部分。

无论如何,现在一切都在编译和部署。

问题是我认为heroku正在拦截aurelia导航,因此当我尝试导航到https://the-app-1234.herokuapp.com/app/时,它会报告它

  

无法获取/ app /

如何让它正常运作?

编辑:

我很确定这与node.js无关,因为应用程序在我的localhost中运行正常。这与heroku有关。

0 个答案:

没有答案