search

Home  >  Q&A  >  body text

angular.js - How to remove the # sign in the URL by using Qiniu to directly deploy angular applications

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

天蓬老师天蓬老师2827 days ago785

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-15 17:02:58

    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

    reply
    0
  • Cancelreply