Compare commits
No commits in common. "94070d8f75239ac1fb7fd8921d5e55ce537680c0" and "d220f86cb833f08cfa187865ef7adda70d0b72c4" have entirely different histories.
94070d8f75
...
d220f86cb8
1 changed files with 5 additions and 8 deletions
|
@ -32,8 +32,11 @@ export default function Study() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
_logger.current = new Logger({
|
_logger.current = new Logger({
|
||||||
inputs: ["keyboard", "wheel", "cursor", "custom"],
|
//inputs: ["cursor", "wheel", "keyboard", "touch"],
|
||||||
apiUrl: "https://behavior.marcocamenzind.ch",
|
inputs: ["keyboard"],
|
||||||
|
// apiUrl: "https://behavior.marcocamenzind.ch",
|
||||||
|
apiUrl: "http://localhost:5000",
|
||||||
|
logToConsole: true,
|
||||||
});
|
});
|
||||||
_logger.current.init();
|
_logger.current.init();
|
||||||
authFetch("/api/username", {
|
authFetch("/api/username", {
|
||||||
|
@ -109,12 +112,6 @@ export default function Study() {
|
||||||
receiveRandomPassword();
|
receiveRandomPassword();
|
||||||
setState(STATES.NORMAL);
|
setState(STATES.NORMAL);
|
||||||
handleLoggerOn();
|
handleLoggerOn();
|
||||||
// map username and session with the logs
|
|
||||||
_logger.current.logCustomEvent(
|
|
||||||
{
|
|
||||||
name: serverUsername,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const resetInputValues = () => {
|
const resetInputValues = () => {
|
||||||
|
|
Loading…
Reference in a new issue