Compare commits

..

No commits in common. "94070d8f75239ac1fb7fd8921d5e55ce537680c0" and "d220f86cb833f08cfa187865ef7adda70d0b72c4" have entirely different histories.

View file

@ -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 = () => {