Commit e598bf95 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Edit the environment file in order to use kong-dev and kong-rec host

parent e221db34
Pipeline #1387 passed with stages
in 8 minutes and 59 seconds
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment