首页 新闻 赞助 找找看

angularjs 怎么设置路由忽略大小写?

0
[已关闭问题] 关闭于 2015-06-04 11:03

如题,想实现 http://localhost:8080/index#/Home 和  http://localhost:8080/index#/home 都能访问 home.html 页面。

现在路由配置是 '/Home',所以输入 ../home 时找不到路由。

求大神解决

黄泽鹏的主页 黄泽鹏 | 菜鸟二级 | 园豆:206
提问于:2015-06-04 10:30
< >
分享
所有回答(1)
0

 caseInsensitiveMatch: true  可以解决!

黄泽鹏 | 园豆:206 (菜鸟二级) | 2015-06-04 11:03
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册