当我点击本地计算机上的index.html文件时,页面已正确加载到浏览器中。但是,当我在herokuapp上打开网站时,我得到了#34; SyntaxError:expect expression,得到了'<'""我链接到html中的所有.js文件的错误。
如果有任何帮助,我将不胜感激。
谢谢!
答案 0 :(得分:1)
The links are propably not working when installed on Heroku. Use the net panel of firebug or your browser developer tools to see which absolute URL the browser is trying to load. Most likely it is invalid and a HTML 404 error page is returned (starting with a '<')