Skip to content

Commit 767dac5

Browse files
divyav-aotann-aotdivyav-aotaurelio-aot
authored
Subpath related changes (#543)
* added date time and network status in sidebar (#62) added date time and network status in sidebar (#62) * datetime style change, and refresh token issue during background fixed (#64) datetime style change, and refresh token issue during background fixed (#64) * Rsbc/7.0.0 subpath (#68) * new branch - rsbc/7.0.0-subpath added in git actions * Apply APP_BASE_ROUTE as optional sub-path for formsflow (#65) * Apply APP_BASE_ROUTE as optional sub-path for formsflow * VERSION updated to v7.0.0-rsbc-v0.3.5 * Add APP_BASE_ROUTE on logos * Add APP_BASE_ROUTE to silent-check-ssot.html path * Refactor APP_BASE_ROUTE * VERSION updated to v7.0.0-rsbc-v0.3.5-subpath --------- Co-authored-by: aurelio-aot <aurelio.pascual.jr@gmail.com> Co-authored-by: divyav-aot <divyav-aot@github> * VERSION updated to v7.0.0-rsbc-v0.3.6-subpath --------- Co-authored-by: divyav-aot <divyav-aot@github> Co-authored-by: Divya Viswanath <79858022+divyav-aot@users.noreply.github.com> Co-authored-by: aurelio-aot <aurelio.pascual.jr@gmail.com> --------- Co-authored-by: Ann Mary Jacob <77353155+ann-aot@users.noreply.github.com> Co-authored-by: divyav-aot <divyav-aot@github> Co-authored-by: aurelio-aot <aurelio.pascual.jr@gmail.com>
1 parent 8c7e5ff commit 767dac5

File tree

19 files changed

+44
-27
lines changed

19 files changed

+44
-27
lines changed

.github/workflows/forms-flow-admin-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- develop
88
- release/*
99
- rsbc/7.0.0
10+
- rsbc/7.0.0-subpath
1011
paths:
1112
- "forms-flow-admin/**"
1213
- "VERSION"

.github/workflows/forms-flow-component-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- FWF-3440-Design-System-MF
99
- release/*
1010
- rsbc/7.0.0
11+
- rsbc/7.0.0-subpath
1112
paths:
1213
- "forms-flow-components/**"
1314
- "VERSION"

.github/workflows/forms-flow-integration-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- develop
88
- release/*
99
- rsbc/7.0.0
10+
- rsbc/7.0.0-subpath
1011
paths:
1112
- "forms-flow-integration/**"
1213
- "VERSION"

.github/workflows/forms-flow-microfrontend-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- rsbc/7.0.0
8+
- rsbc/7.0.0-subpath
89

910
defaults:
1011
run:

.github/workflows/forms-flow-nav.cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- develop
88
- release/*
99
- rsbc/7.0.0
10+
- rsbc/7.0.0-subpath
1011
paths:
1112
- "forms-flow-nav/**"
1213
- "VERSION"

.github/workflows/forms-flow-rsbcservice.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- rsbc/7.0.0
7+
- rsbc/7.0.0-subpath
78
paths:
89
- "forms-flow-rsbcservice/**"
910
- "VERSION"

.github/workflows/forms-flow-service.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
- main
77
- develop
88
- release/*
9-
- rsbc/7.0.0
9+
- rsbc/7.0.0
10+
- rsbc/7.0.0-subpath
1011
paths:
1112
- "forms-flow-service/**"
1213
- "VERSION"

.github/workflows/forms-flow-theme.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
- main
77
- develop
88
- release/*
9-
- rsbc/7.0.0
9+
- rsbc/7.0.0
10+
- rsbc/7.0.0-subpath
1011
paths:
1112
- "forms-flow-theme/**"
1213
- "VERSION"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v7.0.0-rsbc-v0.3.4
1+
v7.0.0-rsbc-v0.3.6-subpath

forms-flow-admin/src/constants/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ export const KEYCLOAK_ENABLE_CLIENT_AUTH =
1414
KEYCLOAK_ENABLE_CLIENT_AUTH_VARIABLE === true
1515
? true
1616
: false;
17-
18-
export const BASE_ROUTE = MULTITENANCY_ENABLED ? "/tenant/:tenantId/" : "/";
17+
const baseRoute = window._env_ && window._env_.REACT_APP_BASE_ROUTE;
18+
export const APP_BASE_ROUTE = baseRoute ? "/" + baseRoute : "";
19+
export const BASE_ROUTE = MULTITENANCY_ENABLED ? "/tenant/:tenantId/" : `${APP_BASE_ROUTE}/`;
1920

2021
export const ADMIN_ROLE = "formsflow-admin";
2122

0 commit comments

Comments
 (0)