We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c106da commit 14039b5Copy full SHA for 14039b5
src/index.tsx
@@ -61,12 +61,17 @@ declare global {
61
_env_: customEnv
62
hj: any
63
_hjSettings: any
64
- Worker: any,
+ Worker: any
65
__BASE_URL__: string
66
__REACT_APP_ORCHESTRATOR_ROOT__: string
67
}
68
69
70
+if (!window.__BASE_URL__ || !window.__REACT_APP_ORCHESTRATOR_ROOT__) {
71
+ window.__BASE_URL__ = '/dashboard'
72
+ window.__REACT_APP_ORCHESTRATOR_ROOT__ = 'orchestrator'
73
+}
74
+
75
const root = document.getElementById('root')
76
if (import.meta.env.VITE_NODE_ENV === 'production' && window._env_ && window._env_.VITE_SENTRY_ERROR_ENABLED) {
77
const integrationArr = []
0 commit comments