AngularJS默认路由缺少斜线#

时间:2013-12-19 19:29:41

标签: angularjs

当我在本地运行我的应用程序并输入localhost时,我的其他路由处理此问题并指向localhost /#/ clips。但是,当部署到dev时,应用程序位于子目录(http://appServer.com/theApp)中,否则路由会创建http://appServer.com/theApp#/clips。几天来我一直在寻找答案。我错过了什么?

0 个答案:

没有答案
相关问题