angular.js - How to remove the # sign in the URL by using Qiniu to directly deploy angular applications
天蓬老师
天蓬老师 2017-05-15 17:00:58
0
1
778

Use Qiniu to deploy angular applications, use HTML5 mode for routing, and expect to get a URL in the form of a.com/123:

$locationProvider.html5Mode(true);

To directly access the report 404, you must press a.com/#/123 to access.

How to solve it? Is there any solution?

@qiniuyunstorage @ikbear @Xu Shiwei @LV Guihua

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
给我你的怀抱

http://blog.fens.me/angularjs-url/ Remove the # sign from the url

Developers have also encountered this problem before. See if I can help you

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template