File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,14 @@ Gleap.setFrameUrl("http://0.0.0.0:3001");
44Gleap . setApiUrl ( "http://0.0.0.0:9000" ) ;
55Gleap . setWSApiUrl ( "ws://0.0.0.0:8080" ) ;
66
7- Gleap . initialize ( "vcxExo94dQQv7KIXd1BnMgN2bzpwZnoj " ) ;
7+ Gleap . initialize ( "ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV " ) ;
88
99/*Gleap.setUrlHandler((url, newTab) => {
1010 alert("URL: " + url + " newTab: " + newTab);
1111});*/
1212
13+ Gleap . setNetworkLogPropsToIgnore ( [ "password" , "token" ] ) ;
14+
1315Gleap . registerCustomAction ( ( customAction ) => {
1416 console . log ( "Custom action: " , customAction ) ;
1517} ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " gleap" ,
3- "version" : " 13.2.5 " ,
3+ "version" : " 13.2.6 " ,
44 "main" : " build/index.js" ,
55 "scripts" : {
66 "start" : " webpack serve" ,
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class GleapNetworkIntercepter {
5252 if ( this . externalRequests && this . externalRequests . length > 0 ) {
5353 requests = requests . concat ( this . externalRequests ) ;
5454 }
55-
55+
5656 if ( this . filters && this . filters . length > 0 ) {
5757 // Perform network log filtering.
5858 for ( var i = 0 ; i < requests . length ; i ++ ) {
@@ -141,7 +141,7 @@ class GleapNetworkIntercepter {
141141 }
142142
143143 setFilters ( filters ) {
144- this . filters = filters ? filters : [ ] ;
144+ this . filters = this . filters . concat ( filters ? filters : [ ] ) ;
145145 }
146146
147147 setBlacklist ( blacklist ) {
You can’t perform that action at this time.
0 commit comments