File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed
viewer/packages/lowcoder/src Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 55 APP_EDITOR_URL ,
66 APPLICATION_VIEW_URL ,
77 BASE_URL ,
8- COMPONENT_DOC_URL ,
98 DATASOURCE_CREATE_URL ,
109 DATASOURCE_EDIT_URL ,
1110 DATASOURCE_URL ,
@@ -306,17 +305,10 @@ class AppIndex extends React.Component<AppIndexProps, any> {
306305 path = { INVITE_LANDING_URL }
307306 component = { LazyInviteLanding }
308307 />
309- < LazyRoute
310- path = { `${ COMPONENT_DOC_URL } /:name` }
311- component = { LazyComponentDoc }
312- />
313308 < LazyRoute
314309 path = { `/playground/:name/:dsl` }
315310 component = { LazyComponentPlayground }
316311 />
317-
318- < Redirect to = { `${ COMPONENT_DOC_URL } /input` } path = "/components" />
319-
320312 { developEnv ( ) && (
321313 < >
322314 < LazyRoute
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { DatasourceType } from "@lowcoder-ee/constants/queryConstants";
55
66export const BASE_URL = "/" ;
77export const USER_AUTH_URL = "/user/auth" ;
8- export const COMPONENT_DOC_URL = "/components" ;
98
109
1110export const ALL_APPLICATIONS_URL = "/apps" ;
@@ -37,9 +36,8 @@ export const isAuthUnRequired = (pathname: string): boolean => {
3736 pathname . startsWith ( "/invite/" ) ||
3837 pathname . startsWith ( USER_AUTH_URL ) ||
3938 pathname . endsWith ( '/auth/login' ) ||
40- pathname . endsWith ( '/auth/register' ) ||
41- pathname . startsWith ( COMPONENT_DOC_URL )
42- ) ;
39+ pathname . endsWith ( '/auth/register' )
40+ )
4341} ;
4442
4543export const buildDatasourceCreateUrl = ( datasourceType : DatasourceType ) =>
@@ -61,6 +59,4 @@ export const buildAppRouteWithState = (
6159
6260export function preview ( applicationId : string ) {
6361 window . open ( APPLICATION_VIEW_URL ( applicationId , "preview" ) ) ;
64- }
65-
66-
62+ }
You can’t perform that action at this time.
0 commit comments