File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
viewer/packages/lowcoder/src Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 1
1
import { default as App } from "antd/es/app" ;
2
2
import { default as ConfigProvider } from "antd/es/config-provider" ;
3
3
import {
4
- ORG_HOME_URL ,
5
4
ALL_APPLICATIONS_URL ,
6
5
APP_EDITOR_URL ,
7
6
APPLICATION_VIEW_URL ,
@@ -317,16 +316,6 @@ class AppIndex extends React.Component<AppIndexProps, any> {
317
316
component = { LazyComponentPlayground }
318
317
/>
319
318
320
- { this . props . isFetchUserFinished && this . props . defaultHomePage ? (
321
- ! this . props . orgDev ? (
322
- < Redirect exact from = { BASE_URL } to = { APPLICATION_VIEW_URL ( this . props . defaultHomePage || "" , "view" ) } />
323
- ) : (
324
- < Redirect exact from = { BASE_URL } to = { ORG_HOME_URL } />
325
- )
326
- ) : (
327
- < Redirect exact from = { BASE_URL } to = { ALL_APPLICATIONS_URL } />
328
- ) }
329
-
330
319
< Redirect to = { `${ COMPONENT_DOC_URL } /input` } path = "/components" />
331
320
332
321
{ developEnv ( ) && (
@@ -392,3 +381,4 @@ export function bootstrap() {
392
381
</ Provider >
393
382
) ;
394
383
}
384
+
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { DatasourceType } from "@lowcoder-ee/constants/queryConstants";
5
5
6
6
export const BASE_URL = "/" ;
7
7
export const USER_AUTH_URL = "/user/auth" ;
8
- export const ORG_HOME_URL = "/org/home" ;
9
8
export const COMPONENT_DOC_URL = "/components" ;
10
9
export const SETTING_URL = "/setting" ;
11
10
export const PERMISSION_SETTING = "/setting/permission" ;
You can’t perform that action at this time.
0 commit comments