fix cookie path

This commit is contained in:
Tristan Schneider 2024-02-01 16:37:41 +00:00
parent 8f6b096d17
commit a206ba2cf0

2
owe.js
View File

@ -82,7 +82,7 @@ async function sendWord() {
};
// Set the 'owe_user' cookie with the value obtained from getNextPlayer
document.cookie = `owe_user=${encodeURIComponent(nextPlayer)}; path=/`;
document.cookie = `owe_user=${encodeURIComponent(nextPlayer)}; path=.`;
Http.send(data);
} catch (error) {