Manually disable html5Mode and rewriteLinks (#19184)
This commit is contained in:
parent
d4f8a70527
commit
39b277d372
7
src/ui/public/chrome/api/angular.js
vendored
7
src/ui/public/chrome/api/angular.js
vendored
|
@ -31,6 +31,13 @@ export function initAngularApi(chrome, internals) {
|
|||
a.href = chrome.addBasePath('/elasticsearch');
|
||||
return a.href;
|
||||
}()))
|
||||
.config($locationProvider => {
|
||||
$locationProvider.html5Mode({
|
||||
enabled: false,
|
||||
requireBase: false,
|
||||
rewriteLinks: false,
|
||||
});
|
||||
})
|
||||
.config(chrome.$setupXsrfRequestInterceptor)
|
||||
.config(function ($compileProvider, $locationProvider) {
|
||||
if (!internals.devMode) {
|
||||
|
|
Loading…
Reference in a new issue