From 5bf03e634419703d36e9fe4c63d94aefbab38d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=E1=BB=91ng?= Date: Sat, 22 Feb 2025 22:42:49 +0700 Subject: [PATCH] release: deployment configs --- sep490-enterprise/src/main/resources/application.yml | 3 +++ sep490-frontend/src/environments/environment.ts | 2 +- sep490-idp/src/main/resources/application.yml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sep490-enterprise/src/main/resources/application.yml b/sep490-enterprise/src/main/resources/application.yml index 3494082..1d53892 100644 --- a/sep490-enterprise/src/main/resources/application.yml +++ b/sep490-enterprise/src/main/resources/application.yml @@ -68,3 +68,6 @@ payment: checksum_key: ${PAYOS_CHECKSUM_KEY:not_a_real_key_to_prevent_null} returnPath: /enterprise/payment cancelPath: /enterprise/payment +server: + servlet: + context-path: /enterprise diff --git a/sep490-frontend/src/environments/environment.ts b/sep490-frontend/src/environments/environment.ts index ae67518..f443e45 100644 --- a/sep490-frontend/src/environments/environment.ts +++ b/sep490-frontend/src/environments/environment.ts @@ -1,6 +1,6 @@ export const environment = { production: true, - oidcAuthority: 'https://greenbuildings.cloud/idp/auth', + oidcAuthority: 'https://greenbuildings.cloud/idp', idpApiUrl: 'https://greenbuildings.cloud/idp/api', enterpriseUrl: 'https://greenbuildings.cloud/enterprise', oidcClientId: 'greenbuildings', diff --git a/sep490-idp/src/main/resources/application.yml b/sep490-idp/src/main/resources/application.yml index 16e0ab0..e583f0b 100644 --- a/sep490-idp/src/main/resources/application.yml +++ b/sep490-idp/src/main/resources/application.yml @@ -1,3 +1,4 @@ + spring: security: oauth2: @@ -81,3 +82,5 @@ logging: sql: ${HIBERNATE_SQL_PARAM_LOG_LEVEL:TRACE} server: port: 8180 + servlet: + context-path: /idp