Open ghost opened 10 years ago
In app.js just insert $locationProvider.html5Mode(true);
Inside the app config, just make sure that it's included the $locationProvider and that should be it.
That's not all. You'll also need to add rewrite's to connect in order for the live-reload to work.
I am enabled $locationProvider.html5Mode(true); in my config file. The first load it works but in reloads it shows cant get the URL error
Hello, I would like to know how to configure html5mode (true) with this generator