diff --git a/src/environments/environment.dev.ts b/src/environments/environment.dev.ts index 063e332290afce64dbdd230901bd4032a7fb31d3..56092726be02344adba435ac05dae1a413eb2bfa 100644 --- a/src/environments/environment.dev.ts +++ b/src/environments/environment.dev.ts @@ -4,15 +4,15 @@ import { AppRoutes } from '../app/routes'; // The build system defaults to the dev environment which uses `environment.ts`, but if you do // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angular-cli.json`. -const servicesProxyUrl = 'https://data-intothesky.alpha.grandlyon.com'; -const kongBaseUrl = 'https://kong.alpha.grandlyon.com'; +// const servicesProxyUrl = 'https://data-intothesky.alpha.grandlyon.com'; +const kongBaseUrl = 'https://kong-dev.alpha.grandlyon.com'; export const environment = { production: true, - oidcLoginEndpoint: kongBaseUrl + '/authentication/dev/login/oidc', - glcLoginEndpoint: kongBaseUrl + '/authentication/dev/login/glc', - tokenEndpoint: kongBaseUrl + '/authentication/dev/token', - logoutEndpoint: kongBaseUrl + '/authentication/dev/logout', + oidcLoginEndpoint: kongBaseUrl + '/authentication/login/oidc', + glcLoginEndpoint: kongBaseUrl + '/authentication/login/glc', + tokenEndpoint: kongBaseUrl + '/authentication/token', + logoutEndpoint: kongBaseUrl + '/authentication/logout', // ElasticSearch elasticsearchUrl: { @@ -22,7 +22,7 @@ export const environment = { enableEsFrontCache: false, matomo: { - url: 'https://matomo-intothesky.alpha.grandlyon.com', + url: kongBaseUrl + '/analytics', }, backendUrls: { @@ -31,7 +31,7 @@ export const environment = { }, emailService: { - url: 'https://kong.alpha.grandlyon.com/email', + url: kongBaseUrl + '/email', }, // Path to the built app in a particular language @@ -41,7 +41,7 @@ export const environment = { }, // Wordpress - wordpressUrl: servicesProxyUrl + '/wordpress/wp-json/wp/v2/', + wordpressUrl: kongBaseUrl + '/cms/wp-json/wp/v2/', wordpressStaticPages: {}, wordpressContent: { categoryIdUniqueContent: 5, diff --git a/src/environments/environment.rec.ts b/src/environments/environment.rec.ts index a00aea3bd1785bf00d190814a6fc5a18b96f493a..b00e7fee19ad30325a5446e0b1501fc2b9855511 100644 --- a/src/environments/environment.rec.ts +++ b/src/environments/environment.rec.ts @@ -4,15 +4,15 @@ import { AppRoutes } from '../app/routes'; // The build system defaults to the dev environment which uses `environment.ts`, but if you do // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angular-cli.json`. -const servicesProxyUrl = 'https://data-intothesky.alpha.grandlyon.com'; -const kongBaseUrl = 'https://kong.alpha.grandlyon.com'; +// const servicesProxyUrl = 'https://data-intothesky.alpha.grandlyon.com'; +const kongBaseUrl = 'https://kong-rec.alpha.grandlyon.com'; export const environment = { production: true, - oidcLoginEndpoint: kongBaseUrl + '/authentication/rec/login/oidc', - glcLoginEndpoint: kongBaseUrl + '/authentication/rec/login/glc', - tokenEndpoint: kongBaseUrl + '/authentication/rec/token', - logoutEndpoint: kongBaseUrl + '/authentication/rec/logout', + oidcLoginEndpoint: kongBaseUrl + '/authentication/login/oidc', + glcLoginEndpoint: kongBaseUrl + '/authentication/login/glc', + tokenEndpoint: kongBaseUrl + '/authentication/token', + logoutEndpoint: kongBaseUrl + '/authentication/logout', // ElasticSearch elasticsearchUrl: { @@ -22,7 +22,7 @@ export const environment = { enableEsFrontCache: false, matomo: { - url: 'https://matomo-intothesky.alpha.grandlyon.com', + url: kongBaseUrl + '/analytics', }, backendUrls: { @@ -31,7 +31,7 @@ export const environment = { }, emailService: { - url: 'https://kong.alpha.grandlyon.com/email', + url: kongBaseUrl + '/email', }, // Path to the built app in a particular language @@ -41,7 +41,7 @@ export const environment = { }, // Wordpress - wordpressUrl: servicesProxyUrl + '/wordpress/wp-json/wp/v2/', + wordpressUrl: kongBaseUrl + '/cms/wp-json/wp/v2/', wordpressStaticPages: {}, wordpressContent: { categoryIdUniqueContent: 5, diff --git a/src/environments/environment.ts b/src/environments/environment.ts index b30fd859d7dbeb66beb542e5c9dc95d9c87d9677..286a6d8ba29210a452959b8340015039c035e76f 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -5,7 +5,7 @@ import { AppRoutes } from '../app/routes'; // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angular-cli.json`. const servicesProxyUrl = 'https://data-intothesky.alpha.grandlyon.com'; -const kongBaseUrl = 'https://kong.alpha.grandlyon.com'; +const kongBaseUrl = 'https://kong-dev.alpha.grandlyon.com'; export const environment = { production: false,