Skip to content

Commit 6605cce

Browse files
authored
Merge pull request #2619 from devtron-labs/feat/gatekeeper-qr-redirection
feat: remove central api config from local storage
2 parents 5d3e2f7 + 58e9dc9 commit 6605cce

File tree

6 files changed

+7
-59
lines changed

6 files changed

+7
-59
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ FEATURE_APPLICATION_TEMPLATES_ENABLE=true
6464
FEATURE_CODE_MIRROR_ENABLE=false
6565
FEATURE_EXPERIMENTAL_THEMING_ENABLE=true
6666
FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE=false
67-
GATEKEEPER_URL=devtron.ai
67+
GATEKEEPER_URL=https://license.devtron.ai/dashboard

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.10.0-patch-5",
7+
"@devtron-labs/devtron-fe-common-lib": "1.10.0-patch-6",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import {
4242
} from './components/common'
4343
import { UPDATE_AVAILABLE_TOAST_PROGRESS_BG, URLS } from './config'
4444
import { validateToken } from './services/service'
45-
import { getCentralAPIHealth } from './utils'
4645

4746
const NavigationRoutes = lazy(() => import('./components/common/navigation/NavigationRoutes'))
4847
const Login = lazy(() => import('./components/login/Login'))
@@ -179,8 +178,6 @@ export default function App() {
179178
defaultRedirection()
180179
}
181180

182-
getCentralAPIHealth()
183-
184181
return () => {
185182
navigator.serviceWorker.removeEventListener('controllerchange', handleControllerChange)
186183
}

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ if (!window || !window._env_) {
168168
FEATURE_APPLICATION_TEMPLATES_ENABLE: true,
169169
FEATURE_CODE_MIRROR_ENABLE: true,
170170
FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE: false,
171-
GATEKEEPER_URL: 'devtron.ai',
171+
GATEKEEPER_URL: 'https://license.devtron.ai/dashboard',
172172
}
173173
}
174174

src/utils.tsx

Lines changed: 0 additions & 49 deletions
This file was deleted.

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,10 +1126,10 @@
11261126
dependencies:
11271127
"@jridgewell/trace-mapping" "0.3.9"
11281128

1129-
"@devtron-labs/[email protected]5":
1130-
version "1.10.0-patch-5"
1131-
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.10.0-patch-5.tgz#26a13c55a38357968b6a21db1c5d940ca271f97c"
1132-
integrity sha512-zZJzMxn7VpuMl/HLZ5ZEpG4BTo1Mi666saZLVRiaaFtclTQDnEDzm6WgWSg/7dvOVM8UPEWoJjT8mBb+q9SZhA==
1129+
"@devtron-labs/[email protected]6":
1130+
version "1.10.0-patch-6"
1131+
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.10.0-patch-6.tgz#c1a5649bf8e81054d49c294df02573468dc85fb9"
1132+
integrity sha512-v3ZJwGAQhiBQ0+jjH+RV8x6Z+2UJwKmWYst9XlM4EHNrspHSh1QhCzOGkAmzkxFrkkvkFrI7jx0+Zbrl9VFULw==
11331133
dependencies:
11341134
"@codemirror/lang-json" "6.0.1"
11351135
"@codemirror/lang-yaml" "6.1.2"

0 commit comments

Comments
 (0)