diff --git a/frontend/src/components/pages/Study.jsx b/frontend/src/components/pages/Study.jsx index 48e4718..a9e0ca1 100644 --- a/frontend/src/components/pages/Study.jsx +++ b/frontend/src/components/pages/Study.jsx @@ -32,8 +32,11 @@ export default function Study() { useEffect(() => { _logger.current = new Logger({ - inputs: ["keyboard", "wheel", "cursor", "custom"], - apiUrl: "https://behavior.marcocamenzind.ch", + //inputs: ["cursor", "wheel", "keyboard", "touch"], + inputs: ["keyboard"], + // apiUrl: "https://behavior.marcocamenzind.ch", + apiUrl: "http://localhost:5000", + logToConsole: true, }); _logger.current.init(); authFetch("/api/username", { @@ -109,12 +112,6 @@ export default function Study() { receiveRandomPassword(); setState(STATES.NORMAL); handleLoggerOn(); - // map username and session with the logs - _logger.current.logCustomEvent( - { - name: serverUsername, - }, - ); }; const resetInputValues = () => {