Skip to content
Snippets Groups Projects
Commit e221db34 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Update elasticsearch route

parent f379a90c
Branches
Tags
No related merge requests found
Pipeline #
...@@ -81,9 +81,14 @@ export class AuthService { ...@@ -81,9 +81,14 @@ export class AuthService {
} catch (error) { } catch (error) {
} }
const url = `${env.logoutEndpoint}?id_token=${idToken}&identity_provider=${identityProvider}`; if (idToken !== null && identityProvider !== null) {
const url = `${env.logoutEndpoint}?id_token=${idToken}&identity_provider=${identityProvider}`;
window.location.href = url;
} else {
this.resetAuth();
}
window.location.href = url;
} }
resetAuth() { resetAuth() {
......
...@@ -16,7 +16,7 @@ export const environment = { ...@@ -16,7 +16,7 @@ export const environment = {
// ElasticSearch // ElasticSearch
elasticsearchUrl: { elasticsearchUrl: {
full: kongBaseUrl + '/elasticsearch-dev/test-all-in-one-index.full.v9.quadtree', full: kongBaseUrl + '/elasticsearch/test-all-in-one-index.full.v9.quadtree',
}, },
enableEsFrontCache: false, enableEsFrontCache: false,
......
...@@ -16,7 +16,7 @@ export const environment = { ...@@ -16,7 +16,7 @@ export const environment = {
// ElasticSearch // ElasticSearch
elasticsearchUrl: { elasticsearchUrl: {
full: kongBaseUrl + '/elasticsearch-rec/test-all-in-one-index.full.v9.quadtree', full: kongBaseUrl + '/elasticsearch/test-all-in-one-index.full.v9.quadtree',
}, },
enableEsFrontCache: false, enableEsFrontCache: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment