File tree 3 files changed +9
-7
lines changed 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 80
80
"chalk" : " 4" ,
81
81
"flag-icons" : " ^7.2.1" ,
82
82
"number-precision" : " ^1.6.0" ,
83
- "posthog-js" : " ^1.144.1 " ,
83
+ "posthog-js" : " ^1.144.2 " ,
84
84
"react-countup" : " ^6.5.3" ,
85
85
"react-player" : " ^2.11.0" ,
86
86
"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> {
112
112
const isLowCoderDomain = window . location . hostname === 'app.lowcoder.cloud' ;
113
113
const isLocalhost = window . location . hostname === 'localhost' ;
114
114
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
+ }
116
118
117
119
// make sure all users in this app have checked login info
118
120
if ( ! this . props . isFetchUserFinished ) {
Original file line number Diff line number Diff line change @@ -13733,7 +13733,7 @@ coolshapes-react@lowcoder-org/coolshapes-react:
13733
13733
lowcoder-cli: "workspace:^"
13734
13734
mq-polyfill: ^1.1.8
13735
13735
number-precision: ^1.6.0
13736
- posthog-js: ^1.144.1
13736
+ posthog-js: ^1.144.2
13737
13737
prettier: ^3.1.0
13738
13738
react-countup: ^6.5.3
13739
13739
react-player: ^2.11.0
@@ -16037,14 +16037,14 @@ coolshapes-react@lowcoder-org/coolshapes-react:
16037
16037
languageName: node
16038
16038
linkType: hard
16039
16039
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 "
16043
16043
dependencies:
16044
16044
fflate: ^0.4.8
16045
16045
preact: ^10.19.3
16046
16046
web-vitals: ^4.0.1
16047
- checksum: ecbd0c9f2bff18ebf866aa5c0f133e0726d8095fe0a6dea6956626670efca8f87824c05057e2de50a2600479beeba13422e95588f7fb0ec6a57f2eb64203c329
16047
+ checksum: c856f49a34b825eb0678b40e137affa4a79a29ff64205f059a9a0ad78ce6ac8b3d8413f955e3fa72b08cf91e923e443aedb7e41b2e40c76c1cab20b88fe1c3d7
16048
16048
languageName: node
16049
16049
linkType: hard
16050
16050
You can’t perform that action at this time.
0 commit comments