File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 8080 "chalk" : " 4" ,
8181 "flag-icons" : " ^7.2.1" ,
8282 "number-precision" : " ^1.6.0" ,
83- "posthog-js" : " ^1.144.1 " ,
83+ "posthog-js" : " ^1.144.2 " ,
8484 "react-countup" : " ^6.5.3" ,
8585 "react-player" : " ^2.11.0" ,
8686 "resize-observer-polyfill" : " ^1.5.1" ,
Original file line number Diff line number Diff line change @@ -112,7 +112,9 @@ class AppIndex extends React.Component<AppIndexProps, any> {
112112 const isLowCoderDomain = window . location . hostname === 'app.lowcoder.cloud' ;
113113 const isLocalhost = window . location . hostname === 'localhost' ;
114114
115- isLocalhost || isLowCoderDomain && posthog . init ( 'phc_lD36OXeppUehLgI33YFhioTpXqThZ5QqR8IWeKvXP7f' , { api_host : 'https://eu.i.posthog.com' , person_profiles : 'always' } ) ;
115+ if ( isLocalhost || isLowCoderDomain ) {
116+ posthog . init ( 'phc_lD36OXeppUehLgI33YFhioTpXqThZ5QqR8IWeKvXP7f' , { api_host : 'https://eu.i.posthog.com' , person_profiles : 'always' } ) ;
117+ }
116118
117119 // make sure all users in this app have checked login info
118120 if ( ! this . props . isFetchUserFinished ) {
Original file line number Diff line number Diff line change @@ -13733,7 +13733,7 @@ coolshapes-react@lowcoder-org/coolshapes-react:
1373313733 lowcoder-cli: "workspace:^"
1373413734 mq-polyfill: ^1.1.8
1373513735 number-precision: ^1.6.0
13736- posthog-js: ^1.144.1
13736+ posthog-js: ^1.144.2
1373713737 prettier: ^3.1.0
1373813738 react-countup: ^6.5.3
1373913739 react-player: ^2.11.0
@@ -16037,14 +16037,14 @@ coolshapes-react@lowcoder-org/coolshapes-react:
1603716037 languageName: node
1603816038 linkType: hard
1603916039
16040- "posthog-js@npm:^1.144.1 ":
16041- version: 1.144.1
16042- resolution: "posthog-js@npm:1.144.1 "
16040+ "posthog-js@npm:^1.144.2 ":
16041+ version: 1.144.2
16042+ resolution: "posthog-js@npm:1.144.2 "
1604316043 dependencies:
1604416044 fflate: ^0.4.8
1604516045 preact: ^10.19.3
1604616046 web-vitals: ^4.0.1
16047- checksum: ecbd0c9f2bff18ebf866aa5c0f133e0726d8095fe0a6dea6956626670efca8f87824c05057e2de50a2600479beeba13422e95588f7fb0ec6a57f2eb64203c329
16047+ checksum: c856f49a34b825eb0678b40e137affa4a79a29ff64205f059a9a0ad78ce6ac8b3d8413f955e3fa72b08cf91e923e443aedb7e41b2e40c76c1cab20b88fe1c3d7
1604816048 languageName: node
1604916049 linkType: hard
1605016050
You can’t perform that action at this time.
0 commit comments