mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Manually disable html5Mode and rewriteLinks (#19184)
This commit is contained in:
parent
d4f8a70527
commit
39b277d372
1 changed files with 7 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue