Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Nov 2, 2022
1 parent d4e2f17 commit 3874fa1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions demo/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const Gleap = window.Gleap;

Gleap.setFrameUrl("http://0.0.0.0:3001");
Gleap.setApiUrl("http://0.0.0.0:9000");
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
//Gleap.setFrameUrl("http://0.0.0.0:3001");
//Gleap.setApiUrl("http://0.0.0.0:9000");
Gleap.initialize("KProDXhMS0V3UUku2iNnrZ4XsBnAYzxt");
//Gleap.setEnvironment("dev");

Gleap.attachCustomData({
Expand All @@ -14,6 +14,13 @@ Gleap.attachCustomData({
},
});

Gleap.identify("123456789", {
name: "John Doe",
});

let userIdentified = Gleap.isUserIdentified();
console.log("userIdentified", userIdentified);

Gleap.log("Test log");
Gleap.log("Test log info", "INFO");
Gleap.log("Test log warn", "WARNING");
Expand Down

0 comments on commit 3874fa1

Please sign in to comment.