angular url is adding unwanted characters

前端 未结 3 1950
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-06 05:26

I had a project where the URL just worked fine when working locally by going to

localhost:9000/

the URL would become

3条回答
  •  既然无缘
    2021-01-06 06:04

    I have managed to solve this problem by using

    $locationProvider.hashPrefix('');
    

    It seems to be a bug in 1.6.0 angularjs

提交回复
热议问题