search

Home  >  Q&A  >  body text

angular.js - Ng-route loads infinitely after deploying the server. How to solve it?

The local compiler runs normally. After uploading the folder to the server, the route loads infinitely
Similar to
ip/index.html#reg->ip/index.html->ip/index.html# reg->ip/index.html....
Infinite loop until the browser freezes

过去多啦不再A梦过去多啦不再A梦2795 days ago703

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-15 17:13:06

    Because after deployment on the server, the relative path of the routing html page needs to be corrected

    reply
    0
  • Cancelreply