Disable HTML5 routes
Look into the docs for enableHTML5mode()
This commit is contained in:
parent
a6e492b96a
commit
478866631f
@ -9,7 +9,7 @@ app.config(
|
|||||||
.when("/about", {templateUrl: "views/about.html", controller: "about"})
|
.when("/about", {templateUrl: "views/about.html", controller: "about"})
|
||||||
.when("/faq", {templateUrl: "views/faq.html", controller: "faq"})
|
.when("/faq", {templateUrl: "views/faq.html", controller: "faq"})
|
||||||
.otherwise("<h1>yeey</h1>");
|
.otherwise("<h1>yeey</h1>");
|
||||||
$locationProvider.html5mode({enabled: true, requireBase: false});
|
// $locationProvider.html5mode({enabled: true, requireBase: false});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user